Skip to content

Commit ecc4e6f

Browse files
committed
Auto-generated commit
1 parent e8994e3 commit ecc4e6f

File tree

2 files changed

+80
-1
lines changed

2 files changed

+80
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ A total of 62 issues were closed in this release:
625625

626626
<details>
627627

628+
- [`2ff3d13`](https://github.com/stdlib-js/stdlib/commit/2ff3d13bfb0ee44c6fb4fbdaea0a32013cf30bc5) - **chore:** add structured package data for `math/base/special/cosd` [(#7963)](https://github.com/stdlib-js/stdlib/pull/7963) _(by Nakul Krishnakumar, Athan Reines)_
628629
- [`6b02e15`](https://github.com/stdlib-js/stdlib/commit/6b02e1513f60505465a661cc72cfba714f13f4b8) - **docs:** update descriptions _(by Athan Reines)_
629630
- [`e3a0d08`](https://github.com/stdlib-js/stdlib/commit/e3a0d08c172ac04192a0f0b5d2e9e8543cbcdba8) - **chore:** add structured package data for `math/base/special/cos` [(#7962)](https://github.com/stdlib-js/stdlib/pull/7962) _(by Nakul Krishnakumar)_
630631
- [`d7b5f34`](https://github.com/stdlib-js/stdlib/commit/d7b5f340acab1d7bfd6723658cfd8d391abadb02) - **refactor:** modify C implementation to accept `float` instead of `int32` in `math/base/special/nonfibonaccif` [(#7960)](https://github.com/stdlib-js/stdlib/pull/7960) _(by Gunj Joshi)_

base/special/cosd/package.json

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,83 @@
6767
"cosine",
6868
"trig",
6969
"trigonometry"
70-
]
70+
],
71+
"__stdlib__": {
72+
"scaffold": {
73+
"$schema": "math/[email protected]",
74+
"base_alias": "cos",
75+
"alias": "cosd",
76+
"pkg_desc": "compute the cosine",
77+
"desc": "computes the cosine",
78+
"short_desc": "cosine",
79+
"parameters": [
80+
{
81+
"name": "x",
82+
"desc": "input value (in degrees)",
83+
"type": {
84+
"javascript": "number",
85+
"jsdoc": "number",
86+
"c": "double",
87+
"dtype": "float64"
88+
},
89+
"domain": [
90+
{
91+
"min": "-infinity",
92+
"max": "infinity"
93+
}
94+
],
95+
"rand": {
96+
"prng": "random/base/uniform",
97+
"parameters": [
98+
-360,
99+
360
100+
]
101+
},
102+
"example_values": [
103+
0,
104+
30,
105+
45,
106+
60,
107+
90,
108+
120,
109+
180,
110+
-30,
111+
-45,
112+
-60,
113+
-90,
114+
-120,
115+
-180,
116+
270,
117+
-270,
118+
360,
119+
-360,
120+
220,
121+
-80,
122+
-40
123+
]
124+
}
125+
],
126+
"output_policy": "real_floating_point_and_generic",
127+
"returns": {
128+
"desc": "cosine",
129+
"type": {
130+
"javascript": "number",
131+
"jsdoc": "number",
132+
"c": "double",
133+
"dtype": "float64"
134+
}
135+
},
136+
"keywords": [
137+
"cos",
138+
"cosd",
139+
"cosine",
140+
"trig",
141+
"trigonometry",
142+
"degrees"
143+
],
144+
"extra_keywords": [
145+
"math.cos"
146+
]
147+
}
148+
}
71149
}

0 commit comments

Comments
 (0)