From 3862b4b09a1013b7aa4a46c335d24a6e8e1b5d3f Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Sat, 1 Nov 2025 23:38:15 +0530 Subject: [PATCH] chore: add structured package data for `math/base/special/hacoversin` --- 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/hacoversin/package.json | 92 ++++++++++++++++++- 1 file changed, 91 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/hacoversin/package.json b/lib/node_modules/@stdlib/math/base/special/hacoversin/package.json index e07dbdfcb3d3..a62ac82619ef 100644 --- a/lib/node_modules/@stdlib/math/base/special/hacoversin/package.json +++ b/lib/node_modules/@stdlib/math/base/special/hacoversin/package.json @@ -74,5 +74,95 @@ "trigonometry", "radians", "angle" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "hacoversin", + "alias": "hacoversin", + "pkg_desc": "compute the half-value coversed sine", + "desc": "computes the half-value coversed sine", + "short_desc": "half-value coversed sine", + "parameters": [ + { + "name": "x", + "desc": "input value (in radians)", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -10, + 10 + ] + }, + "example_values": [ + 64, + 27, + 0, + 0.1, + -9, + 8, + -1, + 125, + -10.2, + 11.3, + -12.4, + 3.5, + -1.6, + 15.7, + -16, + 17.9, + -188, + 19.11, + -200, + 21.15 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "half-value coversed sine", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "hacoversin", + "hacoversine", + "versed sine", + "half-value", + "coversed", + "sinus versus", + "hacoversinus", + "hcv", + "hacov", + "semicoversin", + "cohaversine", + "versed", + "sine", + "sin", + "trig", + "trigonometry", + "radians", + "angle" + ], + "extra_keywords": [ + "math.sin" + ] + } + } }