diff --git a/lib/node_modules/@stdlib/math/base/special/floor10/package.json b/lib/node_modules/@stdlib/math/base/special/floor10/package.json index 66357e73f029..8f9401d933e5 100644 --- a/lib/node_modules/@stdlib/math/base/special/floor10/package.json +++ b/lib/node_modules/@stdlib/math/base/special/floor10/package.json @@ -62,5 +62,80 @@ "round", "nearest", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "floor10", + "alias": "floor10", + "pkg_desc": "round a numeric value to the nearest power of 10 toward negative infinity", + "desc": "rounds a numeric value to the nearest power of 10 toward negative infinity", + "short_desc": "", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -10, + 10 + ] + }, + "example_values": [ + -3.7, + 3.5, + -1.2, + -0.1, + 0.1, + 1.1, + 2.9, + 5.5, + 10.2, + 5.9, + 2.25, + -3.14, + 5, + 4.33, + 10.2, + -9.99, + 9.99, + 2.12, + -0.5, + 0.5 + ] + } + ], + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "floor", + "floor10", + "round", + "nearest" + ], + "extra_keywords": [ + "math.floor" + ] + } + } }