From 66112e6b6748316629d2fb0ec303ece04e605b63 Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Sat, 1 Nov 2025 20:35:32 +0530 Subject: [PATCH 1/2] chore: add structured package data for `math/base/special/factoriallnf` --- 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 --- --- .../base/special/factoriallnf/package.json | 81 ++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/factoriallnf/package.json b/lib/node_modules/@stdlib/math/base/special/factoriallnf/package.json index 77092991e9c2..ce36474015d4 100644 --- a/lib/node_modules/@stdlib/math/base/special/factoriallnf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/factoriallnf/package.json @@ -68,5 +68,84 @@ "combinatorics", "gamma", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "factorialln", + "alias": "factoriallnf", + "pkg_desc": "compute the natural logarithm of the factorial function", + "desc": "computes the natural logarithm of the factorial function", + "short_desc": "natural logarithm of the factorial function", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": 0, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/discrete-uniform", + "parameters": [ + 0, + 100 + ] + }, + "example_values": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 93, + 95, + 96, + 97, + 98, + 99 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "result", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "factorial", + "log-scale", + "logarithm", + "fact", + "lfact", + "factoriallnf", + "combinatorics", + "gamma", + "number" + ], + "extra_keywords": [] + } + } } From 52024c6b8d7f232cec7e7d0b1439bd74b5208e4f Mon Sep 17 00:00:00 2001 From: Athan Date: Sun, 2 Nov 2025 16:45:20 -0800 Subject: [PATCH 2/2] chore: clean-up Signed-off-by: Athan --- .../@stdlib/math/base/special/factoriallnf/package.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/factoriallnf/package.json b/lib/node_modules/@stdlib/math/base/special/factoriallnf/package.json index ce36474015d4..150142987bcf 100644 --- a/lib/node_modules/@stdlib/math/base/special/factoriallnf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/factoriallnf/package.json @@ -64,7 +64,7 @@ "logarithm", "fact", "lfact", - "factoriallnf", + "factorialln", "combinatorics", "gamma", "number" @@ -140,10 +140,9 @@ "logarithm", "fact", "lfact", - "factoriallnf", + "factorialln", "combinatorics", - "gamma", - "number" + "gamma" ], "extra_keywords": [] }