From c3e87314192fdd3f9b95f284a48c2261034f7248 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Mon, 3 Nov 2025 10:00:15 +0530 Subject: [PATCH] chore: add structured package data for math/base/special/rsqrt --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: passed - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/rsqrt/package.json | 80 ++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/rsqrt/package.json b/lib/node_modules/@stdlib/math/base/special/rsqrt/package.json index ea6209afc70c..bc03987a9bdb 100644 --- a/lib/node_modules/@stdlib/math/base/special/rsqrt/package.json +++ b/lib/node_modules/@stdlib/math/base/special/rsqrt/package.json @@ -65,5 +65,83 @@ "number", "reciprocal", "inverse" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "rsqrt", + "alias": "rsqrt", + "pkg_desc": "compute the reciprocal square root of a double-precision floating-point number", + "desc": "computes the reciprocal square root of a double-precision floating-point number", + "short_desc": "reciprocal square root", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": 0, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 0.1, + 100 + ] + }, + "example_values": [ + 0.025, + 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": "reciprocal square root", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "sqrt", + "principal", + "square", + "root", + "reciprocal", + "inverse" + ], + "extra_keywords": [ + "math.sqrt" + ] + } + } }