From cfbb00764d500f9fd6ca487487e598f3d606100a Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 31 Oct 2025 11:22:46 +0530 Subject: [PATCH 1/2] chore: add structured package data for math/base/special/sind --- 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/sind/package.json | 81 ++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/sind/package.json b/lib/node_modules/@stdlib/math/base/special/sind/package.json index d65348da4a7d..c1debf02d2a3 100644 --- a/lib/node_modules/@stdlib/math/base/special/sind/package.json +++ b/lib/node_modules/@stdlib/math/base/special/sind/package.json @@ -64,5 +64,84 @@ "cosine", "trig", "trigonometry" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "sin", + "alias": "sind", + "pkg_desc": "compute the sine of an angle measured in degrees", + "desc": "computes the sine of an angle measured in degrees", + "short_desc": "sine", + "parameters": [ + { + "name": "x", + "desc": "input value (in degrees)", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "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": "double", + "dtype": "float64" + } + }, + "keywords": [ + "degree", + "sin", + "sine", + "sind", + "cos", + "cosine", + "trig" + ], + "extra_keywords": [ + "math.sin" + ] + } + } } From 24fcf146e8d05d19caa80d9466fae9163b8e4858 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 31 Oct 2025 11:27:05 +0530 Subject: [PATCH 2/2] Change base alias from 'sin' to 'sind' Signed-off-by: Manvith <148960168+manvith2003@users.noreply.github.com> --- lib/node_modules/@stdlib/math/base/special/sind/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/sind/package.json b/lib/node_modules/@stdlib/math/base/special/sind/package.json index c1debf02d2a3..32b70d697be6 100644 --- a/lib/node_modules/@stdlib/math/base/special/sind/package.json +++ b/lib/node_modules/@stdlib/math/base/special/sind/package.json @@ -68,7 +68,7 @@ "__stdlib__": { "scaffold": { "$schema": "math/base@v1.0", - "base_alias": "sin", + "base_alias": "sind", "alias": "sind", "pkg_desc": "compute the sine of an angle measured in degrees", "desc": "computes the sine of an angle measured in degrees",