Skip to content

Commit e628df5

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

File tree

1 file changed

+78
-1
lines changed

1 file changed

+78
-1
lines changed

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

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

0 commit comments

Comments
 (0)