diff --git a/lib/node_modules/@stdlib/math/base/special/log1p/package.json b/lib/node_modules/@stdlib/math/base/special/log1p/package.json index 0f1c590b0b99..f6a6d3a86b3d 100644 --- a/lib/node_modules/@stdlib/math/base/special/log1p/package.json +++ b/lib/node_modules/@stdlib/math/base/special/log1p/package.json @@ -67,5 +67,83 @@ "value", "number", "small" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "log1p", + "alias": "log1p", + "pkg_desc": "evaluate the natural logarithm of 1+x", + "desc": "evaluates the natural logarithm of 1+x", + "short_desc": "natural logarithm of 1+x", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": -1, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -1, + 100 + ] + }, + "example_values": [ + -0.99, + 3, + 0.01, + 0.25, + 4, + 9, + -0.9, + 25, + 36, + -0.5, + -0.25, + 16, + 49, + -0.1, + 0, + 0.5, + 1, + 2, + 64, + 81 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "natural logarithm of 1+x", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "ln", + "log1p", + "natural", + "logarithm", + "log" + ], + "extra_keywords": [ + "math.log", + "math.log1p" + ] + } + } }