From b1110ce5d6f0914bbfd669703f91de12a364941b Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 31 Oct 2025 07:23:34 +0530 Subject: [PATCH 1/2] chore: add structured package data for math/base/special/sincf --- 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/sincf/package.json | 79 ++++++++++++++++++- 1 file changed, 78 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/sincf/package.json b/lib/node_modules/@stdlib/math/base/special/sincf/package.json index 036e1de38f29..bbc99a588dee 100644 --- a/lib/node_modules/@stdlib/math/base/special/sincf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/sincf/package.json @@ -63,5 +63,82 @@ "trig", "trigonometry", "normalized" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "sinc", + "alias": "sincf", + "pkg_desc": "compute the normalized cardinal sine of a single-precision floating-point number (in radians)", + "desc": "computes the normalized cardinal sine of a single-precision floating-point number (in radians)", + "short_desc": "normalized cardinal sine", + "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": "normalized cardinal sine", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "sin", + "sincf", + "sine", + "cardinal", + "trig", + "trigonometry", + "normalized" + ], + "extra_keywords": [] + } + } } From 054771bd2266002ec2312a4e15471fa95d724c7b Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 31 Oct 2025 16:55:25 -0700 Subject: [PATCH 2/2] chore: update keywords Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/sincf/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/sincf/package.json b/lib/node_modules/@stdlib/math/base/special/sincf/package.json index bbc99a588dee..ba883770bdcd 100644 --- a/lib/node_modules/@stdlib/math/base/special/sincf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/sincf/package.json @@ -57,7 +57,7 @@ "mathematics", "math", "sin", - "sincf", + "sinc", "sine", "cardinal", "trig", @@ -131,7 +131,7 @@ }, "keywords": [ "sin", - "sincf", + "sinc", "sine", "cardinal", "trig",