From 0fdfcf16a80fba95fe4b08e34732f96867bc0ff5 Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Sun, 24 Aug 2025 13:39:08 +0530 Subject: [PATCH 1/2] chore: add structured package data for `math/base/special/cbrtf` --- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/cbrtf/package.json | 78 ++++++++++++++++++- 1 file changed, 77 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cbrtf/package.json b/lib/node_modules/@stdlib/math/base/special/cbrtf/package.json index f8541dcd0c3f..144d76439696 100644 --- a/lib/node_modules/@stdlib/math/base/special/cbrtf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cbrtf/package.json @@ -63,5 +63,81 @@ "root", "power", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "cbrt", + "alias": "cbrtf", + "pkg_desc": "compute the cube root of a single-precision floating-point number", + "desc": "computes the cube root of a single-precision floating-point number", + "short_desc": "cube root", + "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": [ + 64, + 27, + 0.0, + -9, + 8, + -1, + 125, + -10.2, + 11.3, + -12.4, + 3.5, + -1.6, + 15.7, + -16, + 17.9, + -188, + 19.11, + -200, + 21.15, + -23.4 + ] + } + ], + "returns": { + "desc": "cube root", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "cube", + "root", + "cbrt", + "cubic", + "power" + ], + "extra_keywords": [ + "math.cbrt" + ] + } + } } From 3f5f39fa3d4d48ff420012848721db337110c662 Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Sun, 24 Aug 2025 13:47:30 +0530 Subject: [PATCH 2/2] refactor: changed example_value --- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- lib/node_modules/@stdlib/math/base/special/cbrtf/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cbrtf/package.json b/lib/node_modules/@stdlib/math/base/special/cbrtf/package.json index 144d76439696..920c5144fee9 100644 --- a/lib/node_modules/@stdlib/math/base/special/cbrtf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cbrtf/package.json @@ -98,7 +98,7 @@ "example_values": [ 64, 27, - 0.0, + 0, -9, 8, -1,