From 0f0ea32639779857146818471890e343a1c1a479 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 24 Oct 2025 21:40:22 +0530 Subject: [PATCH 1/4] chore: add structured package data for math/base/special/tanf --- 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/tanf/package.json | 68 ++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/tanf/package.json b/lib/node_modules/@stdlib/math/base/special/tanf/package.json index db116a2e827b..d3ba23613f40 100644 --- a/lib/node_modules/@stdlib/math/base/special/tanf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/tanf/package.json @@ -68,5 +68,71 @@ "trigonometry", "value", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "tanf", + "alias": "tanf", + "pkg_desc": "Evaluate the tangent of a single-precision floating-point number (in radians).", + "desc": "Computes the tangent of a single-precision floating-point number", + "short_desc": "tangent", + "parameters": [ + { + "name": "x", + "desc": "input value (in radians)", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -1.5708, + 1.5708 + ] + }, + "example_values": [ + 0.0, + -0.7854, + 0.7854, + 0.5236, + 1.0472, + -1.0472, + 1.5708, + -1.5708 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "tangent", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "tan", + "tangent", + "trig", + "trigonometry", + "radians", + "float32" + ], + "extra_keywords": [ + "math.tanf" + ] + } + } } From 6e89a56d0fddca9e70cfe1dbfc1b90a86b6db3c6 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 24 Oct 2025 22:06:35 +0530 Subject: [PATCH 2/4] Expand example values for tanf function Updated example values for the tanf function in package.json. Signed-off-by: Manvith <148960168+manvith2003@users.noreply.github.com> --- .../math/base/special/tanf/package.json | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/tanf/package.json b/lib/node_modules/@stdlib/math/base/special/tanf/package.json index d3ba23613f40..1eb45d03884e 100644 --- a/lib/node_modules/@stdlib/math/base/special/tanf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/tanf/package.json @@ -101,14 +101,26 @@ ] }, "example_values": [ - 0.0, - -0.7854, - 0.7854, - 0.5236, - 1.0472, - -1.0472, - 1.5708, - -1.5708 + 0, + 0.1745, + 0.3491, + 0.5236, + 0.6981, + 0.8727, + 1.0472, + 1.2217, + 1.3963, + 1.5708, + -0.1745, + -0.3491, + -0.5236, + -0.6981, + -0.8727, + -1.0472, + -1.2217, + -1.3963, + -1.5, + -1.5708 ] } ], From 1f7d32a45319fd720331135e6ba0a4233e8a3ffe Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 24 Oct 2025 22:34:07 +0530 Subject: [PATCH 3/4] Reformat example_values in package.json Signed-off-by: Manvith <148960168+manvith2003@users.noreply.github.com> --- .../math/base/special/tanf/package.json | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/tanf/package.json b/lib/node_modules/@stdlib/math/base/special/tanf/package.json index 1eb45d03884e..72bf0a34fdbf 100644 --- a/lib/node_modules/@stdlib/math/base/special/tanf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/tanf/package.json @@ -101,26 +101,26 @@ ] }, "example_values": [ - 0, - 0.1745, - 0.3491, - 0.5236, - 0.6981, - 0.8727, - 1.0472, - 1.2217, - 1.3963, - 1.5708, - -0.1745, - -0.3491, - -0.5236, - -0.6981, - -0.8727, - -1.0472, - -1.2217, - -1.3963, - -1.5, - -1.5708 + 0, + 0.1745, + 0.3491, + 0.5236, + 0.6981, + 0.8727, + 1.0472, + 1.2217, + 1.3963, + 1.5708, + -0.1745, + -0.3491, + -0.5236, + -0.6981, + -0.8727, + -1.0472, + -1.2217, + -1.3963, + -1.5, + -1.5708 ] } ], From 05975e921c023ecc9099cad3dd9fd996c03c89de Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Sat, 25 Oct 2025 11:47:58 +0530 Subject: [PATCH 4/4] Update descriptions and keywords in package.json Signed-off-by: Manvith <148960168+manvith2003@users.noreply.github.com> --- .../@stdlib/math/base/special/tanf/package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/tanf/package.json b/lib/node_modules/@stdlib/math/base/special/tanf/package.json index 72bf0a34fdbf..9607a30434c8 100644 --- a/lib/node_modules/@stdlib/math/base/special/tanf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/tanf/package.json @@ -74,8 +74,8 @@ "$schema": "math/base@v1.0", "base_alias": "tanf", "alias": "tanf", - "pkg_desc": "Evaluate the tangent of a single-precision floating-point number (in radians).", - "desc": "Computes the tangent of a single-precision floating-point number", + "pkg_desc": "evaluate the tangent of a single-precision floating-point number (in radians).", + "desc": "computes the tangent of a single-precision floating-point number", "short_desc": "tangent", "parameters": [ { @@ -136,14 +136,15 @@ }, "keywords": [ "tan", + "tanf", "tangent", "trig", "trigonometry", - "radians", - "float32" + "value", + "number" ], "extra_keywords": [ - "math.tanf" + "math.tan" ] } }