From 40308dbcb0e850e961dcf6a672e05e0a9f4d70f1 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Tue, 4 Nov 2025 22:33:51 +0530 Subject: [PATCH 1/2] chore: add structured package data for math/base/special/log10 --- 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/log10/package.json | 80 ++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log10/package.json b/lib/node_modules/@stdlib/math/base/special/log10/package.json index 1b914bce733a..83b04c8a907e 100644 --- a/lib/node_modules/@stdlib/math/base/special/log10/package.json +++ b/lib/node_modules/@stdlib/math/base/special/log10/package.json @@ -63,5 +63,83 @@ "base 10", "logarithm", "log" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "log10", + "alias": "log10", + "pkg_desc": "evaluate the common logarithm (base 10)", + "desc": "evaluates the common logarithm (base 10)", + "short_desc": "common logarithm", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": 0, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 0, + 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": "common logarithm", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "log10", + "common", + "base 10", + "logarithm", + "log" + ], + "extra_keywords": [ + "math.log10" + ] + } + } } + From 151ab1ec6801e7dbabdb6b41e037cff774c6be6f Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 4 Nov 2025 19:35:17 -0800 Subject: [PATCH 2/2] style: remove extra trailing newline Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/log10/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log10/package.json b/lib/node_modules/@stdlib/math/base/special/log10/package.json index 83b04c8a907e..1b9e4c175115 100644 --- a/lib/node_modules/@stdlib/math/base/special/log10/package.json +++ b/lib/node_modules/@stdlib/math/base/special/log10/package.json @@ -96,7 +96,7 @@ ] }, "example_values": [ - 0, + 10, 0.01, 0.25, 0.5, @@ -142,4 +142,3 @@ } } } -