Skip to content

Commit b8de2a4

Browse files
authored
feat: update math scaffold databases
1 parent 4cfd074 commit b8de2a4

File tree

1 file changed

+360
-5
lines changed
  • lib/node_modules/@stdlib/math/special/data

1 file changed

+360
-5
lines changed

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

Lines changed: 360 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9010,9 +9010,219 @@
90109010
],
90119011
"extra_keywords": []
90129012
},
9013-
"@stdlib/math/base/special/fibonacci-indexf": {},
9014-
"@stdlib/math/base/special/fibonacci-index": {},
9015-
"@stdlib/math/base/special/floorf": {},
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+
},
9083+
"@stdlib/math/base/special/fibonacci-index": {
9084+
"$schema": "math/base@v1.0",
9085+
"base_alias": "fibonacciIndex",
9086+
"alias": "fibonacciIndex",
9087+
"pkg_desc": "compute the Fibonacci number index",
9088+
"desc": "computes the Fibonacci number index",
9089+
"short_desc": "Fibonacci number index",
9090+
"parameters": [
9091+
{
9092+
"name": "x",
9093+
"desc": "input value",
9094+
"type": {
9095+
"javascript": "number",
9096+
"jsdoc": "number",
9097+
"c": "double",
9098+
"dtype": "float64"
9099+
},
9100+
"domain": [
9101+
{
9102+
"min": 0,
9103+
"max": "infinity"
9104+
}
9105+
],
9106+
"rand": {
9107+
"prng": "random/base/discrete-uniform",
9108+
"parameters": [
9109+
2,
9110+
7000
9111+
]
9112+
},
9113+
"example_values": [
9114+
10,
9115+
111,
9116+
2,
9117+
3,
9118+
5,
9119+
8,
9120+
13,
9121+
21,
9122+
34,
9123+
55,
9124+
89,
9125+
144,
9126+
233,
9127+
377,
9128+
610,
9129+
987,
9130+
1597,
9131+
2584,
9132+
4181,
9133+
6765
9134+
]
9135+
}
9136+
],
9137+
"output_policy": "real_floating_point_and_generic",
9138+
"returns": {
9139+
"desc": "fibonacci number index",
9140+
"type": {
9141+
"javascript": "number",
9142+
"jsdoc": "number",
9143+
"c": "double",
9144+
"dtype": "float64"
9145+
}
9146+
},
9147+
"keywords": [
9148+
"fibonacci",
9149+
"fib"
9150+
],
9151+
"extra_keywords": []
9152+
},
9153+
"@stdlib/math/base/special/floorf": {
9154+
"$schema": "math/base@v1.0",
9155+
"base_alias": "floor",
9156+
"alias": "floorf",
9157+
"pkg_desc": "round a single-precision floating-point number toward negative infinity",
9158+
"desc": "rounds a single-precision floating-point number toward negative infinity",
9159+
"short_desc": "",
9160+
"parameters": [
9161+
{
9162+
"name": "x",
9163+
"desc": "input value",
9164+
"type": {
9165+
"javascript": "number",
9166+
"jsdoc": "number",
9167+
"c": "float",
9168+
"dtype": "float32"
9169+
},
9170+
"domain": [
9171+
{
9172+
"min": "-infinity",
9173+
"max": "infinity"
9174+
}
9175+
],
9176+
"rand": {
9177+
"prng": "random/base/uniform",
9178+
"parameters": [
9179+
-10,
9180+
10
9181+
]
9182+
},
9183+
"example_values": [
9184+
-3.7,
9185+
3.5,
9186+
-1.2,
9187+
-0.1,
9188+
0.1,
9189+
1.1,
9190+
2.9,
9191+
5.5,
9192+
10.2,
9193+
5.9,
9194+
2.25,
9195+
-3.14,
9196+
5,
9197+
4.33,
9198+
10.2,
9199+
-9.99,
9200+
9.99,
9201+
2.12,
9202+
-0.5,
9203+
0.5
9204+
]
9205+
}
9206+
],
9207+
"returns": {
9208+
"desc": "function value",
9209+
"type": {
9210+
"javascript": "number",
9211+
"jsdoc": "number",
9212+
"c": "float",
9213+
"dtype": "float32"
9214+
}
9215+
},
9216+
"keywords": [
9217+
"floor",
9218+
"round",
9219+
"integer",
9220+
"nearest"
9221+
],
9222+
"extra_keywords": [
9223+
"math.floor"
9224+
]
9225+
},
90169226
"@stdlib/math/base/special/floor": {
90179227
"$schema": "math/base@v1.0",
90189228
"base_alias": "floor",
@@ -9088,8 +9298,153 @@
90889298
},
90899299
"@stdlib/math/base/special/cfloorf": {},
90909300
"@stdlib/math/base/special/cfloor": {},
9091-
"@stdlib/math/base/special/floor10": {},
9092-
"@stdlib/math/base/special/floor2": {},
9301+
"@stdlib/math/base/special/floor10": {
9302+
"$schema": "math/base@v1.0",
9303+
"base_alias": "floor10",
9304+
"alias": "floor10",
9305+
"pkg_desc": "round a numeric value to the nearest power of 10 toward negative infinity",
9306+
"desc": "rounds a numeric value to the nearest power of 10 toward negative infinity",
9307+
"short_desc": "",
9308+
"parameters": [
9309+
{
9310+
"name": "x",
9311+
"desc": "input value",
9312+
"type": {
9313+
"javascript": "number",
9314+
"jsdoc": "number",
9315+
"c": "double",
9316+
"dtype": "float64"
9317+
},
9318+
"domain": [
9319+
{
9320+
"min": "-infinity",
9321+
"max": "infinity"
9322+
}
9323+
],
9324+
"rand": {
9325+
"prng": "random/base/uniform",
9326+
"parameters": [
9327+
-10,
9328+
10
9329+
]
9330+
},
9331+
"example_values": [
9332+
-3.7,
9333+
3.5,
9334+
-1.2,
9335+
-0.1,
9336+
0.1,
9337+
1.1,
9338+
2.9,
9339+
5.5,
9340+
10.2,
9341+
5.9,
9342+
2.25,
9343+
-3.14,
9344+
5,
9345+
4.33,
9346+
10.2,
9347+
-9.99,
9348+
9.99,
9349+
2.12,
9350+
-0.5,
9351+
0.5
9352+
]
9353+
}
9354+
],
9355+
"returns": {
9356+
"desc": "function value",
9357+
"type": {
9358+
"javascript": "number",
9359+
"jsdoc": "number",
9360+
"c": "double",
9361+
"dtype": "float64"
9362+
}
9363+
},
9364+
"keywords": [
9365+
"floor",
9366+
"floor10",
9367+
"round",
9368+
"nearest"
9369+
],
9370+
"extra_keywords": [
9371+
"math.floor"
9372+
]
9373+
},
9374+
"@stdlib/math/base/special/floor2": {
9375+
"$schema": "math/base@v1.0",
9376+
"base_alias": "floor2",
9377+
"alias": "floor2",
9378+
"pkg_desc": "round a numeric value to the nearest power of two toward negative infinity",
9379+
"desc": "rounds a numeric value to the nearest power of two toward negative infinity",
9380+
"short_desc": "",
9381+
"parameters": [
9382+
{
9383+
"name": "x",
9384+
"desc": "input value",
9385+
"type": {
9386+
"javascript": "number",
9387+
"jsdoc": "number",
9388+
"c": "double",
9389+
"dtype": "float64"
9390+
},
9391+
"domain": [
9392+
{
9393+
"min": "-infinity",
9394+
"max": "infinity"
9395+
}
9396+
],
9397+
"rand": {
9398+
"prng": "random/base/uniform",
9399+
"parameters": [
9400+
-10,
9401+
10
9402+
]
9403+
},
9404+
"example_values": [
9405+
-3.7,
9406+
3.5,
9407+
-1.2,
9408+
-0.1,
9409+
0.1,
9410+
1.1,
9411+
2.9,
9412+
5.5,
9413+
10.2,
9414+
5.9,
9415+
2.25,
9416+
-3.14,
9417+
5,
9418+
4.33,
9419+
10.2,
9420+
-9.99,
9421+
9.99,
9422+
2.12,
9423+
-0.5,
9424+
0.5
9425+
]
9426+
}
9427+
],
9428+
"returns": {
9429+
"desc": "function value",
9430+
"type": {
9431+
"javascript": "number",
9432+
"jsdoc": "number",
9433+
"c": "double",
9434+
"dtype": "float64"
9435+
}
9436+
},
9437+
"keywords": [
9438+
"floor",
9439+
"floor2",
9440+
"round",
9441+
"nextpow2",
9442+
"prevpow2"
9443+
],
9444+
"extra_keywords": [
9445+
"math.floor"
9446+
]
9447+
},
90939448
"@stdlib/math/base/special/fresnel": {},
90949449
"@stdlib/math/base/special/fresnelc": {},
90959450
"@stdlib/math/base/special/fresnels": {},

0 commit comments

Comments
 (0)