diff --git a/lib/node_modules/@stdlib/math/base/special/round/package.json b/lib/node_modules/@stdlib/math/base/special/round/package.json index 60d9cd66b904..d315d56773bd 100644 --- a/lib/node_modules/@stdlib/math/base/special/round/package.json +++ b/lib/node_modules/@stdlib/math/base/special/round/package.json @@ -61,5 +61,80 @@ "integer", "nearest", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "round", + "alias": "round", + "pkg_desc": "round a numeric value to the nearest integer", + "desc": "rounds a numeric value to the nearest integer", + "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": [ + -10.2, + 11.3, + -12.4, + 3.5, + -1.6, + 64, + 27.2, + 0, + 0.1, + -9, + 8.1, + -1, + 125, + 15.7, + -16.5, + 17.9, + -188.7, + 19.11, + -200.1, + 21.15 + ] + } + ], + "output_policy": "same", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "round", + "integer", + "nearest" + ], + "extra_keywords": [ + "math.round" + ] + } + } }