-
-
Notifications
You must be signed in to change notification settings - Fork 448
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/exp
PR-URL: #2893 Ref: #1147 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]> Signed-off-by: Gunj Joshi <[email protected]>
- Loading branch information
Showing
1 changed file
with
76 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 |
---|---|---|
|
@@ -66,5 +66,80 @@ | |
"euler", | ||
"power", | ||
"number" | ||
] | ||
], | ||
"__stdlib__": { | ||
"scaffold": { | ||
"$schema": "math/[email protected]", | ||
"base_alias": "exp", | ||
"alias": "exp", | ||
"pkg_desc": "evaluate the natural exponential function", | ||
"desc": "evaluates the natural exponential function", | ||
"short_desc": "natural exponential function", | ||
"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": [ | ||
-1.2, | ||
2.0, | ||
-3.1, | ||
-4.7, | ||
5.5, | ||
6.7, | ||
8.9, | ||
-10.2, | ||
11.3, | ||
-12.4, | ||
13.5, | ||
14.6, | ||
-15.7, | ||
16.8, | ||
-17.9, | ||
18.10, | ||
-19.11, | ||
20.12, | ||
-21.15, | ||
23.78 | ||
] | ||
} | ||
], | ||
"returns": { | ||
"desc": "function value", | ||
"type": { | ||
"javascript": "number", | ||
"jsdoc": "number", | ||
"c": "double", | ||
"dtype": "float64" | ||
} | ||
}, | ||
"keywords": [ | ||
"natural", | ||
"exponential", | ||
"exp", | ||
"power" | ||
], | ||
"extra_keywords": [ | ||
"math.exp" | ||
] | ||
} | ||
} | ||
} |
595c932
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.