From 4f80f46c30916180150ca594456b6cd3801d3a08 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 31 Oct 2025 11:33:37 +0530 Subject: [PATCH 1/2] chore: add structured package data for math/base/special/sindf --- 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/sindf/package.json | 80 ++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/sindf/package.json b/lib/node_modules/@stdlib/math/base/special/sindf/package.json index f1fbcb475eb9..1352f4526fa6 100644 --- a/lib/node_modules/@stdlib/math/base/special/sindf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/sindf/package.json @@ -62,5 +62,83 @@ "sindf", "trig", "trigonometry" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "sind", + "alias": "sindf", + "pkg_desc": "compute the sine of a single-precision floating-point number (in degrees)", + "desc": "computes the sine of a single-precision floating-point number (in degrees)", + "short_desc": "sine", + "parameters": [ + { + "name": "x", + "desc": "input value (in degrees)", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -360, + 360 + ] + }, + "example_values": [ + 0, + 30, + 45, + 60, + 90, + 120, + 150, + 180, + 270, + 360, + -30, + -45, + -60, + -90, + -180, + -270, + -360, + 15, + -15, + 75 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "sine", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "degree", + "sin", + "sine", + "sindf", + "trig", + "trigonometry" + ], + "extra_keywords": [ + "math.sin" + ] + } + } } From f468f2555b0933d253774c073980967fcff19c3b Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 31 Oct 2025 16:54:13 -0700 Subject: [PATCH 2/2] Apply suggestions from code review Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/sindf/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/sindf/package.json b/lib/node_modules/@stdlib/math/base/special/sindf/package.json index 1352f4526fa6..94582fb07aa3 100644 --- a/lib/node_modules/@stdlib/math/base/special/sindf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/sindf/package.json @@ -59,7 +59,7 @@ "degree", "sin", "sine", - "sindf", + "sind", "trig", "trigonometry" ], @@ -132,7 +132,7 @@ "degree", "sin", "sine", - "sindf", + "sind", "trig", "trigonometry" ],