From 1a8d27202817c08e53ec800d8ac28b5758c7d460 Mon Sep 17 00:00:00 2001 From: kgryte <2643044+kgryte@users.noreply.github.com> Date: Wed, 31 Dec 2025 08:46:28 +0000 Subject: [PATCH] feat: update math scaffold databases Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../@stdlib/math/special/data/unary.json | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/lib/node_modules/@stdlib/math/special/data/unary.json b/lib/node_modules/@stdlib/math/special/data/unary.json index 7e045b1158d7..26b352ff56f0 100644 --- a/lib/node_modules/@stdlib/math/special/data/unary.json +++ b/lib/node_modules/@stdlib/math/special/data/unary.json @@ -12509,6 +12509,80 @@ "math.log1p" ] }, + "@stdlib/math/base/special/log1pf": { + "$schema": "math/base@v1.0", + "base_alias": "log1p", + "alias": "log1pf", + "pkg_desc": "evaluate the natural logarithm of 1+x as a single-precision floating-point number", + "desc": "evaluates the natural logarithm of 1+x as a single-precision floating-point number", + "short_desc": "natural logarithm of 1+x", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": -1, + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -0.5, + 10 + ] + }, + "example_values": [ + 4, + 0.5, + 0.1, + 0.01, + 0.001, + 1, + 2, + 3, + 5, + 10, + 0.2, + 0.3, + 0.7, + 1.5, + 2.5, + 7, + -0.5, + -0.1, + -0.9, + 0 + ] + } + ], + "returns": { + "desc": "natural logarithm of 1+x", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "log1p", + "logarithm", + "ln", + "natural" + ], + "extra_keywords": [ + "math.log", + "math.log1p" + ] + }, "@stdlib/math/base/special/log1p": { "$schema": "math/base@v1.0", "base_alias": "log1p",