From cbde09d89c7f38816c3cd25ade1be411db7096e1 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Tue, 4 Nov 2025 23:16:47 +0530 Subject: [PATCH 1/3] chore: add structured package data for math/base/special/log1mexp --- 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/log1mexp/package.json | 81 ++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json b/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json index d33e3b575229..e62a343419ed 100644 --- a/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json +++ b/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json @@ -66,5 +66,84 @@ "logarithm", "log", "function" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "log1mexp", + "alias": "log1mexp", + "pkg_desc": "evaluate the natural logarithm of 1-exp(-|x|)", + "desc": "evaluates the natural logarithm of 1-exp(-|x|)", + "short_desc": "natural logarithm", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -100, + 100 + ] + }, + "example_values": [ + 0, + -0.01, + 0.25, + -0.5, + 1, + 2, + 3, + 4, + 9, + 16, + 25, + -36, + 49, + -64, + 81, + 100, + -0.1, + 10, + -50, + 99.99 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "natural logarithm", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "ln", + "log1mexp", + "natural", + "logarithm", + "log" + ], + "extra_keywords": [ + "math.log", + "math.log1p" + ] + } + } } + From ea3c010923f2d891f12cb3922f141f550085cbd9 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 4 Nov 2025 19:42:41 -0800 Subject: [PATCH 2/3] docs: update desc Signed-off-by: Athan --- .../@stdlib/math/base/special/log1mexp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json b/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json index e62a343419ed..5ac1870f2049 100644 --- a/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json +++ b/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json @@ -74,7 +74,7 @@ "alias": "log1mexp", "pkg_desc": "evaluate the natural logarithm of 1-exp(-|x|)", "desc": "evaluates the natural logarithm of 1-exp(-|x|)", - "short_desc": "natural logarithm", + "short_desc": "natural logarithm of of 1-exp(-|x|)", "parameters": [ { "name": "x", From 3adc45236bb8d4e032fc4a2db89e6378190caac1 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 4 Nov 2025 19:43:20 -0800 Subject: [PATCH 3/3] style: remove extra line Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/log1mexp/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json b/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json index 5ac1870f2049..42db9dc3bdd2 100644 --- a/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json +++ b/lib/node_modules/@stdlib/math/base/special/log1mexp/package.json @@ -146,4 +146,3 @@ } } } -