Skip to content

Commit aa96c21

Browse files
kgrytestdlib-bot
authored andcommitted
feat: update math scaffold databases
Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
1 parent 4328fdc commit aa96c21

1 file changed

Lines changed: 217 additions & 3 deletions

File tree

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

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

Lines changed: 217 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9010,7 +9010,76 @@
90109010
],
90119011
"extra_keywords": []
90129012
},
9013-
"@stdlib/math/base/special/fibonacci-indexf": {},
9013+
"@stdlib/math/base/special/fibonacci-indexf": {
9014+
"$schema": "math/base@v1.0",
9015+
"base_alias": "fibonacciIndex",
9016+
"alias": "fibonacciIndexf",
9017+
"pkg_desc": "compute the Fibonacci number index of a single-precision floating-point number",
9018+
"desc": "computes the Fibonacci number index of a single-precision floating-point number",
9019+
"short_desc": "Fibonacci number index",
9020+
"parameters": [
9021+
{
9022+
"name": "x",
9023+
"desc": "input value",
9024+
"type": {
9025+
"javascript": "number",
9026+
"jsdoc": "number",
9027+
"c": "float",
9028+
"dtype": "float32"
9029+
},
9030+
"domain": [
9031+
{
9032+
"min": 0,
9033+
"max": "infinity"
9034+
}
9035+
],
9036+
"rand": {
9037+
"prng": "random/base/discrete-uniform",
9038+
"parameters": [
9039+
2,
9040+
7000
9041+
]
9042+
},
9043+
"example_values": [
9044+
10,
9045+
111,
9046+
2,
9047+
3,
9048+
5,
9049+
8,
9050+
13,
9051+
21,
9052+
34,
9053+
55,
9054+
89,
9055+
144,
9056+
233,
9057+
377,
9058+
610,
9059+
987,
9060+
1597,
9061+
2584,
9062+
4181,
9063+
6765
9064+
]
9065+
}
9066+
],
9067+
"output_policy": "real_floating_point_and_generic",
9068+
"returns": {
9069+
"desc": "fibonacci number index",
9070+
"type": {
9071+
"javascript": "number",
9072+
"jsdoc": "number",
9073+
"c": "float",
9074+
"dtype": "float32"
9075+
}
9076+
},
9077+
"keywords": [
9078+
"fibonacci",
9079+
"fib"
9080+
],
9081+
"extra_keywords": []
9082+
},
90149083
"@stdlib/math/base/special/fibonacci-index": {},
90159084
"@stdlib/math/base/special/floorf": {},
90169085
"@stdlib/math/base/special/floor": {
@@ -9088,8 +9157,153 @@
90889157
},
90899158
"@stdlib/math/base/special/cfloorf": {},
90909159
"@stdlib/math/base/special/cfloor": {},
9091-
"@stdlib/math/base/special/floor10": {},
9092-
"@stdlib/math/base/special/floor2": {},
9160+
"@stdlib/math/base/special/floor10": {
9161+
"$schema": "math/base@v1.0",
9162+
"base_alias": "floor10",
9163+
"alias": "floor10",
9164+
"pkg_desc": "round a numeric value to the nearest power of 10 toward negative infinity",
9165+
"desc": "rounds a numeric value to the nearest power of 10 toward negative infinity",
9166+
"short_desc": "",
9167+
"parameters": [
9168+
{
9169+
"name": "x",
9170+
"desc": "input value",
9171+
"type": {
9172+
"javascript": "number",
9173+
"jsdoc": "number",
9174+
"c": "double",
9175+
"dtype": "float64"
9176+
},
9177+
"domain": [
9178+
{
9179+
"min": "-infinity",
9180+
"max": "infinity"
9181+
}
9182+
],
9183+
"rand": {
9184+
"prng": "random/base/uniform",
9185+
"parameters": [
9186+
-10,
9187+
10
9188+
]
9189+
},
9190+
"example_values": [
9191+
-3.7,
9192+
3.5,
9193+
-1.2,
9194+
-0.1,
9195+
0.1,
9196+
1.1,
9197+
2.9,
9198+
5.5,
9199+
10.2,
9200+
5.9,
9201+
2.25,
9202+
-3.14,
9203+
5,
9204+
4.33,
9205+
10.2,
9206+
-9.99,
9207+
9.99,
9208+
2.12,
9209+
-0.5,
9210+
0.5
9211+
]
9212+
}
9213+
],
9214+
"returns": {
9215+
"desc": "function value",
9216+
"type": {
9217+
"javascript": "number",
9218+
"jsdoc": "number",
9219+
"c": "double",
9220+
"dtype": "float64"
9221+
}
9222+
},
9223+
"keywords": [
9224+
"floor",
9225+
"floor10",
9226+
"round",
9227+
"nearest"
9228+
],
9229+
"extra_keywords": [
9230+
"math.floor"
9231+
]
9232+
},
9233+
"@stdlib/math/base/special/floor2": {
9234+
"$schema": "math/base@v1.0",
9235+
"base_alias": "floor2",
9236+
"alias": "floor2",
9237+
"pkg_desc": "round a numeric value to the nearest power of two toward negative infinity",
9238+
"desc": "rounds a numeric value to the nearest power of two toward negative infinity",
9239+
"short_desc": "",
9240+
"parameters": [
9241+
{
9242+
"name": "x",
9243+
"desc": "input value",
9244+
"type": {
9245+
"javascript": "number",
9246+
"jsdoc": "number",
9247+
"c": "double",
9248+
"dtype": "float64"
9249+
},
9250+
"domain": [
9251+
{
9252+
"min": "-infinity",
9253+
"max": "infinity"
9254+
}
9255+
],
9256+
"rand": {
9257+
"prng": "random/base/uniform",
9258+
"parameters": [
9259+
-10,
9260+
10
9261+
]
9262+
},
9263+
"example_values": [
9264+
-3.7,
9265+
3.5,
9266+
-1.2,
9267+
-0.1,
9268+
0.1,
9269+
1.1,
9270+
2.9,
9271+
5.5,
9272+
10.2,
9273+
5.9,
9274+
2.25,
9275+
-3.14,
9276+
5,
9277+
4.33,
9278+
10.2,
9279+
-9.99,
9280+
9.99,
9281+
2.12,
9282+
-0.5,
9283+
0.5
9284+
]
9285+
}
9286+
],
9287+
"returns": {
9288+
"desc": "function value",
9289+
"type": {
9290+
"javascript": "number",
9291+
"jsdoc": "number",
9292+
"c": "double",
9293+
"dtype": "float64"
9294+
}
9295+
},
9296+
"keywords": [
9297+
"floor",
9298+
"floor2",
9299+
"round",
9300+
"nextpow2",
9301+
"prevpow2"
9302+
],
9303+
"extra_keywords": [
9304+
"math.floor"
9305+
]
9306+
},
90939307
"@stdlib/math/base/special/fresnel": {},
90949308
"@stdlib/math/base/special/fresnelc": {},
90959309
"@stdlib/math/base/special/fresnels": {},

0 commit comments

Comments
 (0)