Skip to content

Commit 0db3d0d

Browse files
committed
Auto-generated commit
1 parent eee8d1c commit 0db3d0d

File tree

2 files changed

+78
-1
lines changed

2 files changed

+78
-1
lines changed

CHANGELOG.md

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

628628
<details>
629629

630+
- [`510d9ae`](https://github.com/stdlib-js/stdlib/commit/510d9ae6fc7467b72253e92a9da21095335c2f99) - **chore:** add structured package data for `math/base/special/sqrt` [(#7987)](https://github.com/stdlib-js/stdlib/pull/7987) _(by Lokesh Ranjan, Athan Reines, stdlib-bot)_
630631
- [`cdd433b`](https://github.com/stdlib-js/stdlib/commit/cdd433bc46eb762ed93311b69bc69af9f92bb220) - **chore:** add structured package data for `math/base/special/sec` [(#7986)](https://github.com/stdlib-js/stdlib/pull/7986) _(by Lokesh Ranjan, Athan Reines)_
631632
- [`82547c8`](https://github.com/stdlib-js/stdlib/commit/82547c84e8e82410ec7ffecda8620f170d9bbd2a) - **chore:** add structured package data for `math/base/special/sin` [(#7985)](https://github.com/stdlib-js/stdlib/pull/7985) _(by Lokesh Ranjan, Athan Reines)_
632633
- [`4d66533`](https://github.com/stdlib-js/stdlib/commit/4d6653362c42cf824605769488c88788d2c44b8f) - **feat:** add `math/base/special/fast/absf` [(#7983)](https://github.com/stdlib-js/stdlib/pull/7983) _(by Nakul Krishnakumar, Athan Reines)_

base/special/sqrt/package.json

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,81 @@
6363
"root",
6464
"power",
6565
"number"
66-
]
66+
],
67+
"__stdlib__": {
68+
"scaffold": {
69+
"$schema": "math/base@v1.0",
70+
"base_alias": "sqrt",
71+
"alias": "sqrt",
72+
"pkg_desc": "compute the principal square root",
73+
"desc": "computes the principal square root",
74+
"short_desc": "principal square root",
75+
"parameters": [
76+
{
77+
"name": "x",
78+
"desc": "input value",
79+
"type": {
80+
"javascript": "number",
81+
"jsdoc": "number",
82+
"c": "double",
83+
"dtype": "float64"
84+
},
85+
"domain": [
86+
{
87+
"min": "0",
88+
"max": "infinity"
89+
}
90+
],
91+
"rand": {
92+
"prng": "random/base/uniform",
93+
"parameters": [
94+
0,
95+
100
96+
]
97+
},
98+
"example_values": [
99+
0,
100+
0.01,
101+
0.25,
102+
0.5,
103+
1,
104+
2,
105+
3,
106+
4,
107+
9,
108+
16,
109+
25,
110+
36,
111+
49,
112+
64,
113+
81,
114+
100,
115+
0.1,
116+
10,
117+
50,
118+
99.99
119+
]
120+
}
121+
],
122+
"output_policy": "real_floating_point_and_generic",
123+
"returns": {
124+
"desc": "square root",
125+
"type": {
126+
"javascript": "number",
127+
"jsdoc": "number",
128+
"c": "double",
129+
"dtype": "float64"
130+
}
131+
},
132+
"keywords": [
133+
"sqrt",
134+
"square",
135+
"root",
136+
"principal"
137+
],
138+
"extra_keywords": [
139+
"math.sqrt"
140+
]
141+
}
142+
}
67143
}

0 commit comments

Comments
 (0)