|
66 | 66 | "complex",
|
67 | 67 | "cmplx",
|
68 | 68 | "number"
|
69 |
| - ] |
| 69 | + ], |
| 70 | + "__stdlib__": { |
| 71 | + "scaffold": { |
| 72 | + "$schema": "math/[email protected]", |
| 73 | + "base_alias": "ceil", |
| 74 | + "alias": "cceil", |
| 75 | + "pkg_desc": "round each component of a double-precision complex floating-point number toward positive infinity", |
| 76 | + "desc": "rounds each component of a double-precision complex floating-point number toward positive infinity", |
| 77 | + "short_desc": "complex ceil", |
| 78 | + "parameters": [ |
| 79 | + { |
| 80 | + "name": "z", |
| 81 | + "desc": "input value", |
| 82 | + "type": { |
| 83 | + "javascript": "Complex128", |
| 84 | + "jsdoc": "Complex128", |
| 85 | + "c": "stdlib_complex128_t", |
| 86 | + "dtype": "complex128" |
| 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 | + { "re": 3.14, "im": 1.5 }, |
| 103 | + { "re": -3.14, "im": -1.5 }, |
| 104 | + { "re": 0, "im": 0 }, |
| 105 | + { "re": -1.5, "im": 2.5 }, |
| 106 | + { "re": 2.5, "im": -1.5 }, |
| 107 | + { "re": 0, "im": -3.7 }, |
| 108 | + { "re": 4.2, "im": 0 }, |
| 109 | + { "re": 21.2, "im": 3 }, |
| 110 | + { "re": 11, "im": -5 }, |
| 111 | + { "re": 33, "im": -14.67 }, |
| 112 | + { "re": -42, "im": 9.3 }, |
| 113 | + { "re": -3, "im": 3 }, |
| 114 | + { "re": 73, "im": 31 }, |
| 115 | + { "re": -2.45, "im": 1.23 }, |
| 116 | + { "re": 2.45, "im": -1.23 }, |
| 117 | + { "re": 1.77, "im": -3.14 }, |
| 118 | + { "re": -7.5, "im": 8.2 }, |
| 119 | + { "re": 5.5, "im": -12.3 }, |
| 120 | + { "re": -15.8, "im": 0.4 }, |
| 121 | + { "re": 0.99, "im": -0.99 } |
| 122 | + ] |
| 123 | + } |
| 124 | + ], |
| 125 | + "returns": { |
| 126 | + "desc": "rounded complex value", |
| 127 | + "type": { |
| 128 | + "javascript": "Complex128", |
| 129 | + "jsdoc": "Complex128", |
| 130 | + "c": "stdlib_complex128_t", |
| 131 | + "dtype": "complex128" |
| 132 | + } |
| 133 | + }, |
| 134 | + "keywords": [ |
| 135 | + "ceil", |
| 136 | + "cceil", |
| 137 | + "round", |
| 138 | + "complex", |
| 139 | + "complex128", |
| 140 | + "positive infinity" |
| 141 | + ], |
| 142 | + "extra_keywords": [ |
| 143 | + "math.ceil" |
| 144 | + ] |
| 145 | + } |
| 146 | + } |
70 | 147 | }
|
0 commit comments