Skip to content

Commit d660d86

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/sindf
PR-URL: #8326 Ref: #7924 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent 2f0032c commit d660d86

File tree

1 file changed

+80
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/sindf

1 file changed

+80
-2
lines changed

lib/node_modules/@stdlib/math/base/special/sindf/package.json

Lines changed: 80 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,86 @@
5959
"degree",
6060
"sin",
6161
"sine",
62-
"sindf",
62+
"sind",
6363
"trig",
6464
"trigonometry"
65-
]
65+
],
66+
"__stdlib__": {
67+
"scaffold": {
68+
"$schema": "math/[email protected]",
69+
"base_alias": "sind",
70+
"alias": "sindf",
71+
"pkg_desc": "compute the sine of a single-precision floating-point number (in degrees)",
72+
"desc": "computes the sine of a single-precision floating-point number (in degrees)",
73+
"short_desc": "sine",
74+
"parameters": [
75+
{
76+
"name": "x",
77+
"desc": "input value (in degrees)",
78+
"type": {
79+
"javascript": "number",
80+
"jsdoc": "number",
81+
"c": "float",
82+
"dtype": "float32"
83+
},
84+
"domain": [
85+
{
86+
"min": "-infinity",
87+
"max": "infinity"
88+
}
89+
],
90+
"rand": {
91+
"prng": "random/base/uniform",
92+
"parameters": [
93+
-360,
94+
360
95+
]
96+
},
97+
"example_values": [
98+
0,
99+
30,
100+
45,
101+
60,
102+
90,
103+
120,
104+
150,
105+
180,
106+
270,
107+
360,
108+
-30,
109+
-45,
110+
-60,
111+
-90,
112+
-180,
113+
-270,
114+
-360,
115+
15,
116+
-15,
117+
75
118+
]
119+
}
120+
],
121+
"output_policy": "real_floating_point_and_generic",
122+
"returns": {
123+
"desc": "sine",
124+
"type": {
125+
"javascript": "number",
126+
"jsdoc": "number",
127+
"c": "float",
128+
"dtype": "float32"
129+
}
130+
},
131+
"keywords": [
132+
"degree",
133+
"sin",
134+
"sine",
135+
"sind",
136+
"trig",
137+
"trigonometry"
138+
],
139+
"extra_keywords": [
140+
"math.sin"
141+
]
142+
}
143+
}
66144
}

0 commit comments

Comments
 (0)