Skip to content

Commit 45e343f

Browse files
committed
Auto-generated commit
1 parent a70e5fd commit 45e343f

15 files changed

Lines changed: 729 additions & 91 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-05-05)
7+
## Unreleased (2025-05-06)
88

99
<section class="features">
1010

@@ -458,6 +458,7 @@ A total of 41 issues were closed in this release:
458458

459459
<details>
460460

461+
- [`56388ac`](https://github.com/stdlib-js/stdlib/commit/56388aceeac1d76fd6f554c8871a55d908589415) - **chore:** add structured package data _(by Karan Anand)_
461462
- [`ecdd35d`](https://github.com/stdlib-js/stdlib/commit/ecdd35d1580a9b4460e6a220f47bcf252c8e77bc) - **chore:** fix EditorConfig lint errors [(#6932)](https://github.com/stdlib-js/stdlib/pull/6932) _(by Lalit Narayan Yadav)_
462463
- [`76b5a2a`](https://github.com/stdlib-js/stdlib/commit/76b5a2a16fc50b903970a86bae38f99554537be4) - **chore:** add structured package data _(by Karan Anand)_
463464
- [`23bf064`](https://github.com/stdlib-js/stdlib/commit/23bf064a542e8a3ba998ded0e94f24396a467d63) - **chore:** add structured package data for `math/base/special/abs2` [(#6903)](https://github.com/stdlib-js/stdlib/pull/6903) _(by Karan Anand)_

LICENSE

Lines changed: 64 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,36 @@ The library links against the following external libraries or contains
181181
implementations from the following external libraries, which have their own
182182
licenses:
183183

184+
* FreeBSD <https://svnweb.freebsd.org/>
185+
186+
Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
187+
188+
Developed at SunPro, a Sun Microsystems, Inc. business.
189+
Permission to use, copy, modify, and distribute this
190+
software is freely granted, provided that this notice
191+
is preserved.
192+
193+
* Cephes <http://www.netlib.org/cephes/readme>
194+
195+
Copyright (c) 1984-2000 Stephen L. Moshier
196+
197+
Some software in this archive may be from the book _Methods and Programs for
198+
Mathematical Functions_ (Prentice-Hall or Simon & Schuster International, 1989)
199+
or from the Cephes Mathematical Library, a commercial product. In either event,
200+
it is copyrighted by the author. What you see here may be used freely but it
201+
comes with no support or guarantee.
202+
203+
Stephen L. Moshier
204+
moshier@na-net.ornl.gov
205+
206+
Developed at SunPro, a Sun Microsystems, Inc. business.
207+
Permission to use, copy, modify, and distribute this
208+
software is freely granted, provided that this notice
209+
is preserved.
210+
Apache License
211+
Version 2.0, January 2004
212+
http://www.apache.org/licenses/
213+
184214
* Boost <http://www.boost.org/LICENSE_1_0.txt>
185215

186216
Boost Software License - Version 1.0 - August 17th, 2003
@@ -206,34 +236,17 @@ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
206236
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
207237
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
208238
DEALINGS IN THE SOFTWARE.
209-
210-
* FreeBSD <https://svnweb.freebsd.org/>
211-
212-
Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
213-
214-
Developed at SunPro, a Sun Microsystems, Inc. business.
215-
Permission to use, copy, modify, and distribute this
216-
software is freely granted, provided that this notice
217-
is preserved.
218-
219-
* Cephes <http://www.netlib.org/cephes/readme>
220-
221-
Copyright (c) 1984-2000 Stephen L. Moshier
222-
223-
Some software in this archive may be from the book _Methods and Programs for
224-
Mathematical Functions_ (Prentice-Hall or Simon & Schuster International, 1989)
225-
or from the Cephes Mathematical Library, a commercial product. In either event,
226-
it is copyrighted by the author. What you see here may be used freely but it
227-
comes with no support or guarantee.
228-
229-
Stephen L. Moshier
230-
moshier@na-net.ornl.gov
231239
Apache License
232240
Version 2.0, January 2004
233241
http://www.apache.org/licenses/
234242

235-
Stephen L. Moshier
236-
moshier@na-net.ornl.gov
243+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
244+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
245+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
246+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
247+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
248+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
249+
DEALINGS IN THE SOFTWARE.
237250

238251
* Go <https://raw.githubusercontent.com/golang/go/master/LICENSE>
239252

@@ -265,52 +278,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
265278
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
266279
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
267280

268-
* SpecialFunctions.jl <https://raw.githubusercontent.com/JuliaMath/
269-
SpecialFunctions.jl/02a173fbe24a61c4b392aec17a9764ac5727feb1/LICENSE>
270-
271-
The MIT License (MIT)
272-
273-
Copyright (c) 2017 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and others:
274-
275-
https://github.com/JuliaMath/SpecialFunctions.jl/graphs/contributors
276-
277-
Permission is hereby granted, free of charge, to any person obtaining a copy
278-
of this software and associated documentation files (the "Software"), to deal
279-
in the Software without restriction, including without limitation the rights
280-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
281-
copies of the Software, and to permit persons to whom the Software is
282-
furnished to do so, subject to the following conditions:
283-
284-
The above copyright notice and this permission notice shall be included in all
285-
copies or substantial portions of the Software.
286-
287-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
288-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
289-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
290-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
291-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
292-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
293-
SOFTWARE.
294-
295-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
296-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
297-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
298-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
299-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
300-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
301-
SOFTWARE.
302-
Apache License
303-
Version 2.0, January 2004
304-
http://www.apache.org/licenses/
305-
306-
Developed at SunPro, a Sun Microsystems, Inc. business.
307-
Permission to use, copy, modify, and distribute this
308-
software is freely granted, provided that this notice
309-
is preserved.
310-
Apache License
311-
Version 2.0, January 2004
312-
http://www.apache.org/licenses/
313-
314281
* FDLIBM <http://www.netlib.org/fdlibm/>
315282

316283
Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
@@ -338,6 +305,33 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
338305
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
339306
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
340307

308+
* SpecialFunctions.jl <https://raw.githubusercontent.com/JuliaMath/
309+
SpecialFunctions.jl/02a173fbe24a61c4b392aec17a9764ac5727feb1/LICENSE>
310+
311+
The MIT License (MIT)
312+
313+
Copyright (c) 2017 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and others:
314+
315+
https://github.com/JuliaMath/SpecialFunctions.jl/graphs/contributors
316+
317+
Permission is hereby granted, free of charge, to any person obtaining a copy
318+
of this software and associated documentation files (the "Software"), to deal
319+
in the Software without restriction, including without limitation the rights
320+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
321+
copies of the Software, and to permit persons to whom the Software is
322+
furnished to do so, subject to the following conditions:
323+
324+
The above copyright notice and this permission notice shall be included in all
325+
copies or substantial portions of the Software.
326+
327+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
328+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
329+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
330+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
331+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
332+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
333+
SOFTWARE.
334+
341335
* SLATEC Common Mathematical Library <https://netlib.org/slatec/>
342336

343337
Public domain.

base/special/abs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
]
121121
}
122122
],
123-
"output_policy": "real_floating_point_and_generic",
123+
"output_policy": "same",
124124
"returns": {
125125
"desc": "absolute value",
126126
"type": {

base/special/abs2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
]
124124
}
125125
],
126-
"output_policy": "real_floating_point_and_generic",
126+
"output_policy": "same",
127127
"returns": {
128128
"desc": "squared absolute value",
129129
"type": {

base/special/abs2f/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"alias": "abs2f",
7676
"pkg_desc": "compute the squared absolute value of a single-precision floating-point number",
7777
"desc": "computes the squared absolute value of a single-precision floating-point number",
78-
"short_desc": "squared absolute value of a single-precision floating-point number",
78+
"short_desc": "squared absolute value",
7979
"parameters": [
8080
{
8181
"name": "x",
@@ -123,7 +123,7 @@
123123
]
124124
}
125125
],
126-
"output_policy": "real_floating_point_and_generic",
126+
"output_policy": "same",
127127
"returns": {
128128
"desc": "squared absolute value",
129129
"type": {

base/special/absf/package.json

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,82 @@
6767
"float",
6868
"single-precision"
6969
],
70-
"__stdlib__": {}
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/base@v1.0",
73+
"base_alias": "abs",
74+
"alias": "absf",
75+
"pkg_desc": "compute the absolute value of a single-precision floating-point number",
76+
"desc": "computes the absolute value of a single-precision floating-point number",
77+
"short_desc": "absolute value",
78+
"parameters": [
79+
{
80+
"name": "x",
81+
"desc": "input value",
82+
"type": {
83+
"javascript": "number",
84+
"jsdoc": "number",
85+
"c": "float",
86+
"dtype": "float32"
87+
},
88+
"domain": [
89+
{
90+
"min": "-infinity",
91+
"max": "infinity"
92+
}
93+
],
94+
"rand": {
95+
"prng": "random/base/uniform",
96+
"parameters": [
97+
-10,
98+
10
99+
]
100+
},
101+
"example_values": [
102+
64,
103+
27,
104+
0,
105+
0.1,
106+
-9,
107+
8,
108+
-1,
109+
125,
110+
-10.2,
111+
11.3,
112+
-12.4,
113+
3.5,
114+
-1.6,
115+
15.7,
116+
-16,
117+
17.9,
118+
-188,
119+
19.11,
120+
-200,
121+
21.15
122+
]
123+
}
124+
],
125+
"output_policy": "same",
126+
"returns": {
127+
"desc": "absolute value",
128+
"type": {
129+
"javascript": "number",
130+
"jsdoc": "number",
131+
"c": "float",
132+
"dtype": "float32"
133+
}
134+
},
135+
"keywords": [
136+
"abs",
137+
"absf",
138+
"fabsf",
139+
"absolute",
140+
"magnitude",
141+
"value"
142+
],
143+
"extra_keywords": [
144+
"math.abs"
145+
]
146+
}
147+
}
71148
}

base/special/acos/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"alias": "acos",
7575
"pkg_desc": "compute the arccosine (in radians) of a double-precision floating-point number",
7676
"desc": "computes the arccosine (in radians) of a double-precision floating-point number",
77-
"short_desc": "arccosine (in radians) of a double-precision floating-point number",
77+
"short_desc": "arccosine",
7878
"parameters": [
7979
{
8080
"name": "x",
@@ -109,20 +109,20 @@
109109
-0.79,
110110
0.05,
111111
-0.66,
112-
0.90,
112+
0.9,
113113
-0.11,
114114
-0.52,
115115
0.27,
116116
0.33,
117117
-0.74,
118-
0.00,
118+
0,
119119
0.71,
120120
-0.25,
121121
0.58
122122
]
123123
}
124124
],
125-
"output_policy": "real_floating_point_and_generic",
125+
"output_policy": "same",
126126
"returns": {
127127
"desc": "arccosine (in radians)",
128128
"type": {

base/special/acosd/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"alias": "acosd",
7272
"pkg_desc": "compute the arccosine (in degrees) of a double-precision floating-point number",
7373
"desc": "computes the arccosine (in degrees) of a double-precision floating-point number",
74-
"short_desc": "arccosine (in degrees) of a double-precision floating-point number",
74+
"short_desc": "arccosine",
7575
"parameters": [
7676
{
7777
"name": "x",
@@ -106,20 +106,20 @@
106106
-0.79,
107107
0.05,
108108
-0.66,
109-
0.90,
109+
0.9,
110110
-0.11,
111111
-0.52,
112112
0.27,
113113
0.33,
114114
-0.74,
115-
0.00,
115+
0,
116116
0.71,
117117
-0.25,
118118
0.58
119119
]
120120
}
121121
],
122-
"output_policy": "real_floating_point_and_generic",
122+
"output_policy": "same",
123123
"returns": {
124124
"desc": "arccosine (in degrees)",
125125
"type": {

0 commit comments

Comments
 (0)