From 0bee91cc841bdab80734e30288f60881cfb7a5c5 Mon Sep 17 00:00:00 2001 From: Manvith <148960168+manvith2003@users.noreply.github.com> Date: Sun, 9 Nov 2025 09:47:26 +0530 Subject: [PATCH] chore: add structured package data for math/base/special/expm1rel --- 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/expm1rel/package.json | 81 ++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/expm1rel/package.json b/lib/node_modules/@stdlib/math/base/special/expm1rel/package.json index 18b4bbe58f6e..75cef8ac6730 100644 --- a/lib/node_modules/@stdlib/math/base/special/expm1rel/package.json +++ b/lib/node_modules/@stdlib/math/base/special/expm1rel/package.json @@ -69,5 +69,84 @@ "euler", "number" ], - "__stdlib__": {} + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "expm1rel", + "alias": "expm1rel", + "pkg_desc": "compute the relative error exponential", + "desc": "computes the relative error exponential", + "short_desc": "relative error exponential", + "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": [ + -10, + 10 + ] + }, + "example_values": [ + -1.2, + 2, + -3.1, + -4.7, + 5.5, + 6.7, + 8.9, + -10.2, + 11.3, + -12.4, + 13.5, + 14.6, + -15.7, + 16.8, + -17.9, + 18.1, + -19.11, + 20.12, + -21.15, + 23.78 + ] + } + ], + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "expm1", + "power", + "natural", + "exp", + "relative", + "error", + "err", + "exponential", + "euler" + ], + "extra_keywords": [ + "math.expm1" + ] + } + } }