-
-
Notifications
You must be signed in to change notification settings - Fork 910
chore: add structured package data for math/base/special/cceil
#7964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
12eb145
d8cc1f7
8c3e2a8
b18198e
1923dab
56f8f61
08b8b96
27807c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,5 +66,138 @@ | |
"complex", | ||
"cmplx", | ||
"number" | ||
] | ||
], | ||
"__stdlib__": { | ||
"scaffold": { | ||
"$schema": "math/[email protected]", | ||
"base_alias": "ceil", | ||
"alias": "cceil", | ||
"pkg_desc": "round each component of a complex number toward positive infinity", | ||
"desc": "rounds each component of a complex number toward positive infinity", | ||
"short_desc": "", | ||
"parameters": [ | ||
{ | ||
"name": "z", | ||
"desc": "input value", | ||
"type": { | ||
"javascript": "Complex128", | ||
"jsdoc": "Complex128", | ||
"c": "stdlib_complex128_t", | ||
"dtype": "complex128" | ||
}, | ||
"domain": [ | ||
{ | ||
"min": "-infinity", | ||
"max": "infinity" | ||
} | ||
], | ||
"rand": { | ||
"prng": "random/base/uniform", | ||
"parameters": [ | ||
-10, | ||
10 | ||
kgryte marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
] | ||
}, | ||
|
||
"example_values": [ | ||
{ | ||
"re": -3.14, | ||
"im": -1.5 | ||
}, | ||
{ | ||
"re": 0, | ||
"im": 0 | ||
}, | ||
{ | ||
"re": -1.5, | ||
"im": 2.5 | ||
}, | ||
{ | ||
"re": 2.5, | ||
"im": -1.5 | ||
}, | ||
{ | ||
"re": 0, | ||
"im": -3.7 | ||
}, | ||
{ | ||
"re": 4.2, | ||
"im": 0 | ||
}, | ||
{ | ||
"re": 21.2, | ||
"im": 3 | ||
}, | ||
{ | ||
"re": 11, | ||
"im": -5 | ||
}, | ||
{ | ||
"re": 33, | ||
"im": -14.67 | ||
}, | ||
{ | ||
"re": -42, | ||
"im": 9.3 | ||
}, | ||
{ | ||
"re": -3, | ||
"im": 3 | ||
}, | ||
{ | ||
"re": 73, | ||
"im": 31 | ||
}, | ||
{ | ||
"re": -2.45, | ||
"im": 1.23 | ||
}, | ||
{ | ||
"re": 2.45, | ||
"im": -1.23 | ||
}, | ||
{ | ||
"re": 1.77, | ||
"im": -3.14 | ||
}, | ||
{ | ||
"re": -7.5, | ||
"im": 8.2 | ||
}, | ||
{ | ||
"re": 5.5, | ||
"im": -12.3 | ||
}, | ||
{ | ||
"re": -15.8, | ||
"im": 0.4 | ||
}, | ||
{ | ||
"re": 0.99, | ||
"im": -0.99 | ||
} | ||
] | ||
} | ||
], | ||
"returns": { | ||
"desc": "rounded complex value", | ||
kgryte marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
"type": { | ||
"javascript": "Complex128", | ||
"jsdoc": "Complex128", | ||
"c": "stdlib_complex128_t", | ||
"dtype": "complex128" | ||
} | ||
}, | ||
"keywords": [ | ||
"ceil", | ||
"cceil", | ||
"round", | ||
"complex", | ||
"complex128", | ||
kgryte marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
"ceiling" | ||
], | ||
"extra_keywords": [ | ||
"math.ceil" | ||
] | ||
} | ||
} | ||
} |
Uh oh!
There was an error while loading. Please reload this page.