From c3d8bd8e7c513c801ec6555f62b811f4d6de0ebe Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 24 Oct 2025 20:50:13 +0530 Subject: [PATCH 1/3] chore: add structured package data for math/base/special/tand --- 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/tand/package.json | 76 ++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/tand/package.json b/lib/node_modules/@stdlib/math/base/special/tand/package.json index d0f01d67966e..134962508adf 100644 --- a/lib/node_modules/@stdlib/math/base/special/tand/package.json +++ b/lib/node_modules/@stdlib/math/base/special/tand/package.json @@ -68,5 +68,79 @@ "cosine", "trig", "trigonometry" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "tand", + "alias": "tand", + "pkg_desc": "compute the tangent of an angle measured in degrees", + "desc": "compute the tangent of an angle measured in degrees", + "short_desc": "tangent in degrees", + "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": [ + -180, + 180 + ] + }, + "example_values": [ + 0, + 30, + 45, + 60, + 90, + 120, + 135, + 150, + 180, + -30, + -45, + -60, + -90, + -120, + -135, + -150, + -180 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "tangent of the input angle in degrees", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "tand", + "tangent", + "trig", + "trigonometry", + "degrees" + ], + "extra_keywords": [ + "math.tand" + ] + } + } } From 07d7d234be633cd303caa2a9bb19386d8f134166 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 24 Oct 2025 21:13:55 +0530 Subject: [PATCH 2/3] Update short description in package.json Signed-off-by: Manvith <148960168+manvith2003@users.noreply.github.com> --- lib/node_modules/@stdlib/math/base/special/tand/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/tand/package.json b/lib/node_modules/@stdlib/math/base/special/tand/package.json index 134962508adf..c35cc24ad5ed 100644 --- a/lib/node_modules/@stdlib/math/base/special/tand/package.json +++ b/lib/node_modules/@stdlib/math/base/special/tand/package.json @@ -76,7 +76,7 @@ "alias": "tand", "pkg_desc": "compute the tangent of an angle measured in degrees", "desc": "compute the tangent of an angle measured in degrees", - "short_desc": "tangent in degrees", + "short_desc": "tangent", "parameters": [ { "name": "x", From 06b5e8c8b15c096da95c7399d7ea4a62ec4dbf7a Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Sat, 25 Oct 2025 11:43:44 +0530 Subject: [PATCH 3/3] Update package.json for tand function metadata Signed-off-by: Manvith <148960168+manvith2003@users.noreply.github.com> --- .../@stdlib/math/base/special/tand/package.json | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/tand/package.json b/lib/node_modules/@stdlib/math/base/special/tand/package.json index c35cc24ad5ed..be4ee3008c2c 100644 --- a/lib/node_modules/@stdlib/math/base/special/tand/package.json +++ b/lib/node_modules/@stdlib/math/base/special/tand/package.json @@ -123,7 +123,7 @@ ], "output_policy": "real_floating_point_and_generic", "returns": { - "desc": "tangent of the input angle in degrees", + "desc": "tangent", "type": { "javascript": "number", "jsdoc": "number", @@ -132,15 +132,13 @@ } }, "keywords": [ - "tand", + "degree", + "tan", "tangent", "trig", - "trigonometry", - "degrees" + "trigonometry" ], - "extra_keywords": [ - "math.tand" - ] + "extra_keywords": [] } } }