From 91e9a62341f00e9cd7774f9efa6e0d1247b20cb7 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Sun, 9 Nov 2025 08:55:56 +0530 Subject: [PATCH 1/2] chore: add structured package data for math/base/special/gamma-lanczos-sum-expg-scaledf --- 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 --- --- .../package.json | 80 ++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaledf/package.json b/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaledf/package.json index 85399e2e56ab..11c1ce117b57 100644 --- a/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaledf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaledf/package.json @@ -69,5 +69,83 @@ "rational", "factorial", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "gamma-lanczos-sum-expg-scaled", + "alias": "gamma-lanczos-sum-expg-scaledf", + "pkg_desc": "calculate a scaled Lanczos sum for the approximation of the gamma function as a single precision floating-point number", + "desc": "calculates a scaled Lanczos sum for the approximation of the gamma function as a single precision floating-point number", + "short_desc": "scaled Lanczos approximation", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -10, + 10 + ] + }, + "example_values": [ + 1, + 3.5, + 4.5, + -0.5, + 2, + 3, + -3.5, + 0.1, + 4, + 1.5, + 5, + 0.5, + 2.5, + -1.5, + -2.5, + 50, + 100, + -50.5, + -100.5, + 2.2 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "gamma", + "lanczos", + "scaled", + "approx", + "approximation", + "polynomial", + "rational", + "factorial" + ], + "extra_keywords": [] + } + } } From 63f2bdb6d83d7097abbe63b72b78cb15f53e919d Mon Sep 17 00:00:00 2001 From: Athan Date: Sun, 9 Nov 2025 02:27:15 -0800 Subject: [PATCH 2/2] chore: clean-up Signed-off-by: Athan --- .../special/gamma-lanczos-sum-expg-scaledf/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaledf/package.json b/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaledf/package.json index 11c1ce117b57..6d0054d18279 100644 --- a/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaledf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/gamma-lanczos-sum-expg-scaledf/package.json @@ -73,11 +73,11 @@ "__stdlib__": { "scaffold": { "$schema": "math/base@v1.0", - "base_alias": "gamma-lanczos-sum-expg-scaled", - "alias": "gamma-lanczos-sum-expg-scaledf", + "base_alias": "gammaLanczosSumExpGScaled", + "alias": "gammaLanczosSumExpGScaledf", "pkg_desc": "calculate a scaled Lanczos sum for the approximation of the gamma function as a single precision floating-point number", "desc": "calculates a scaled Lanczos sum for the approximation of the gamma function as a single precision floating-point number", - "short_desc": "scaled Lanczos approximation", + "short_desc": "scaled Lanczos sum for the approximation of the gamma function", "parameters": [ { "name": "x",