From 88d2ebd947a92074501220f64fee9fbf79c17f18 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Sun, 2 Nov 2025 10:42:05 +0530 Subject: [PATCH 1/2] chore: add structured package data for math/base/special/secf --- 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/secf/package.json | 84 ++++++++++++++++++- 1 file changed, 83 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/secf/package.json b/lib/node_modules/@stdlib/math/base/special/secf/package.json index 5e8a39dc015d..ae675fce4a64 100644 --- a/lib/node_modules/@stdlib/math/base/special/secf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/secf/package.json @@ -66,5 +66,87 @@ "trigonometry", "radians", "angle" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "sec", + "alias": "secf", + "pkg_desc": "compute the secant of a single-precision floating-point number (in radians)", + "desc": "computes the secant of a single-precision floating-point number (in radians)", + "short_desc": "secant", + "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": [ + -10, + 10 + ] + }, + "example_values": [ + 0, + 0.5236, + 0.7854, + 1.5708, + 1.0472, + 2.3562, + 3.1416, + 4.7124, + 6.2832, + -0.5236, + -0.7854, + -1.0472, + -1.5708, + -2.3562, + -3.1416, + 7.854, + -7.854, + 0.1, + -0.1, + 3.5 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "secant", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "cos", + "cosine", + "sec", + "secant", + "secf", + "trig", + "trigonometry", + "radians", + "angle" + ], + "extra_keywords": [ + "math.sec", + "math.cos" + ] + } + } } From 1f37ea3e1676585c8693545b1eb04574a5e2f8e9 Mon Sep 17 00:00:00 2001 From: Athan Date: Sun, 2 Nov 2025 16:30:24 -0800 Subject: [PATCH 2/2] chore: clean-up Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/secf/package.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/secf/package.json b/lib/node_modules/@stdlib/math/base/special/secf/package.json index ae675fce4a64..9a766a232396 100644 --- a/lib/node_modules/@stdlib/math/base/special/secf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/secf/package.json @@ -61,7 +61,6 @@ "cosine", "sec", "secant", - "secf", "trig", "trigonometry", "radians", @@ -137,7 +136,6 @@ "cosine", "sec", "secant", - "secf", "trig", "trigonometry", "radians",