Skip to content

Commit fb8466b

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/tandf
PR-URL: stdlib-js#8279 Ref: stdlib-js#7924 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent 8fbab34 commit fb8466b

File tree

1 file changed

+79
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/tandf

1 file changed

+79
-1
lines changed

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

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

0 commit comments

Comments
 (0)