diff --git a/lib/node_modules/@stdlib/math/base/special/floorf/package.json b/lib/node_modules/@stdlib/math/base/special/floorf/package.json index d3b01793472f..6a0b30ef9186 100644 --- a/lib/node_modules/@stdlib/math/base/special/floorf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/floorf/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/math/base/special/floorf", "version": "0.0.0", - "description": "Round a single-precision floating-point numeric value toward negative infinity.", + "description": "Round a single-precision floating-point number toward negative infinity.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", @@ -56,8 +56,8 @@ "stdmath", "mathematics", "math", - "math.floorf", - "floorf", + "math.floor", + "floor", "round", "integer", "nearest", @@ -66,5 +66,80 @@ "float", "single-precision", "single" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "floor", + "alias": "floorf", + "pkg_desc": "round a single-precision floating-point number toward negative infinity", + "desc": "rounds a single-precision floating-point number toward negative infinity", + "short_desc": "", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "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": "float", + "dtype": "float32" + } + }, + "keywords": [ + "floor", + "round", + "integer", + "nearest" + ], + "extra_keywords": [ + "math.floor" + ] + } + } }