-
-
Notifications
You must be signed in to change notification settings - Fork 475
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add structured package data for
math/base/special/cbrt
PR-URL: #2909 Reviewed-by: Athan Reines <[email protected]>
- Loading branch information
Showing
1 changed file
with
77 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,5 +64,81 @@ | |
"root", | ||
"power", | ||
"number" | ||
] | ||
], | ||
"__stdlib__": { | ||
"scaffold": { | ||
"$schema": "math/[email protected]", | ||
"base_alias": "cbrt", | ||
"alias": "cbrt", | ||
"pkg_desc": "compute the cube root", | ||
"desc": "computes the cube root", | ||
"short_desc": "cube root", | ||
"parameters": [ | ||
{ | ||
"name": "x", | ||
"desc": "input value", | ||
"type": { | ||
"javascript": "number", | ||
"jsdoc": "number", | ||
"c": "double", | ||
"dtype": "float64" | ||
}, | ||
"domain": [ | ||
{ | ||
"min": "-infinity", | ||
"max": "infinity" | ||
} | ||
], | ||
"rand": { | ||
"prng": "random/base/uniform", | ||
"parameters": [ | ||
-10.0, | ||
10.0 | ||
] | ||
}, | ||
"example_values": [ | ||
64.0, | ||
27.0, | ||
0.0, | ||
-0.0, | ||
-9.0, | ||
8.0, | ||
-1.0, | ||
125.0, | ||
-10.2, | ||
11.3, | ||
-12.4, | ||
3.5, | ||
-1.6, | ||
15.7, | ||
-16.0, | ||
17.9, | ||
-188.0, | ||
19.11, | ||
-200.0, | ||
21.15 | ||
] | ||
} | ||
], | ||
"returns": { | ||
"desc": "cube root", | ||
"type": { | ||
"javascript": "number", | ||
"jsdoc": "number", | ||
"c": "double", | ||
"dtype": "float64" | ||
} | ||
}, | ||
"keywords": [ | ||
"cube", | ||
"root", | ||
"cbrt", | ||
"cubic", | ||
"power" | ||
], | ||
"extra_keywords": [ | ||
"math.cbrt" | ||
] | ||
} | ||
} | ||
} |
2658654
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report
The above coverage report was generated for the changes in this push.