Skip to content

Commit e4442f2

Browse files
authored
feat: update math scaffold databases
PR-URL: #9453 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent bba26d6 commit e4442f2

1 file changed

Lines changed: 74 additions & 0 deletions

File tree

  • lib/node_modules/@stdlib/math/special/data

lib/node_modules/@stdlib/math/special/data/unary.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12509,6 +12509,80 @@
1250912509
"math.log1p"
1251012510
]
1251112511
},
12512+
"@stdlib/math/base/special/log1pf": {
12513+
"$schema": "math/base@v1.0",
12514+
"base_alias": "log1p",
12515+
"alias": "log1pf",
12516+
"pkg_desc": "evaluate the natural logarithm of 1+x as a single-precision floating-point number",
12517+
"desc": "evaluates the natural logarithm of 1+x as a single-precision floating-point number",
12518+
"short_desc": "natural logarithm of 1+x",
12519+
"parameters": [
12520+
{
12521+
"name": "x",
12522+
"desc": "input value",
12523+
"type": {
12524+
"javascript": "number",
12525+
"jsdoc": "number",
12526+
"c": "float",
12527+
"dtype": "float32"
12528+
},
12529+
"domain": [
12530+
{
12531+
"min": -1,
12532+
"max": "infinity"
12533+
}
12534+
],
12535+
"rand": {
12536+
"prng": "random/base/uniform",
12537+
"parameters": [
12538+
-0.5,
12539+
10
12540+
]
12541+
},
12542+
"example_values": [
12543+
4,
12544+
0.5,
12545+
0.1,
12546+
0.01,
12547+
0.001,
12548+
1,
12549+
2,
12550+
3,
12551+
5,
12552+
10,
12553+
0.2,
12554+
0.3,
12555+
0.7,
12556+
1.5,
12557+
2.5,
12558+
7,
12559+
-0.5,
12560+
-0.1,
12561+
-0.9,
12562+
0
12563+
]
12564+
}
12565+
],
12566+
"returns": {
12567+
"desc": "natural logarithm of 1+x",
12568+
"type": {
12569+
"javascript": "number",
12570+
"jsdoc": "number",
12571+
"c": "float",
12572+
"dtype": "float32"
12573+
}
12574+
},
12575+
"keywords": [
12576+
"log1p",
12577+
"logarithm",
12578+
"ln",
12579+
"natural"
12580+
],
12581+
"extra_keywords": [
12582+
"math.log",
12583+
"math.log1p"
12584+
]
12585+
},
1251212586
"@stdlib/math/base/special/log1p": {
1251312587
"$schema": "math/base@v1.0",
1251412588
"base_alias": "log1p",

0 commit comments

Comments
 (0)