diff --git a/lib/node_modules/@stdlib/math/base/special/logf/package.json b/lib/node_modules/@stdlib/math/base/special/logf/package.json index 422f3ffe9c60..753223322c6f 100644 --- a/lib/node_modules/@stdlib/math/base/special/logf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/logf/package.json @@ -60,5 +60,80 @@ "base", "logarithm", "log" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "log", + "alias": "logf", + "pkg_desc": "compute the base `b` logarithm of a single-precision floating-point number", + "desc": "computes the base `b` logarithm of a single-precision floating-point number", + "short_desc": "logarithm", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": 0, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 0, + 100 + ] + }, + "example_values": [ + 0, + 0.01, + 0.25, + 0.5, + 1, + 2, + 3, + 4, + 9, + 16, + 25, + 36, + 49, + 64, + 81, + 100, + 0.1, + 10, + 50, + 99.99 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "logarithm", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "base", + "logarithm", + "log" + ], + "extra_keywords": [ + "math.log" + ] + } + } }