From 11c90542b326098d573833123490f4086d6c3bc5 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Fri, 7 Nov 2025 23:20:08 +0530 Subject: [PATCH] chore: add structured package data for math/base/special/kernel-log1p --- 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/kernel-log1p/package.json | 71 ++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/kernel-log1p/package.json b/lib/node_modules/@stdlib/math/base/special/kernel-log1p/package.json index 199475aea1be..6c8aaf991e35 100644 --- a/lib/node_modules/@stdlib/math/base/special/kernel-log1p/package.json +++ b/lib/node_modules/@stdlib/math/base/special/kernel-log1p/package.json @@ -60,5 +60,74 @@ "log", "kernel", "logarithm" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "kernel-log1p", + "alias": "kernel-log1p", + "pkg_desc": "evaluate a correction term for double-precision base-2 and base-10 logarithms when 1+f is in [√2/2, √2]", + "desc": "evaluates a correction term for double-precision base-2 and base-10 logarithms when 1+f is in [√2/2, √2]", + "short_desc": "", + "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": [ + -2, + 1 + ] + }, + "example_values": [ + -0.2929, + -0.25, + -0.2, + -0.15, + -0.1, + -0.05, + 0, + 0.05, + 0.1, + 0.15, + 0.2, + 0.25, + 0.3, + 0.35, + 0.4, + 0.4142 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "log", + "kernel", + "logarithm" + ], + "extra_keywords": [] + } + } }