@@ -188,10 +188,10 @@ Supported operators
188188
189189*NumExpr * supports the set of operators listed below:
190190
191- * Bitwise operators (and, or, not, xor): :code: `&, |, ~, ^ `
191+ * Bitwise and logical operators (and, or, not, xor): :code: `&, |, ~, ^ `
192192 * Comparison operators: :code: `<, <=, ==, !=, >=, > `
193193 * Unary arithmetic operators: :code: `- `
194- * Binary arithmetic operators: :code: `+, -, *, /, **, %, <<, >> `
194+ * Binary arithmetic operators: :code: `+, -, *, /, //, **, %, <<, >> `
195195
196196
197197Supported functions
@@ -203,22 +203,33 @@ The next are the current supported set:
203203 is true, number2 otherwise.
204204 * :code: `{isinf, isnan, isfinite}(float|complex): bool ` -- returns element-wise True
205205 for ``inf `` or ``NaN ``, ``NaN ``, not ``inf `` respectively.
206+ * :code: `signbit(float|complex): bool ` -- returns element-wise True if signbit is set
207+ False otherwise.
206208 * :code: `{sin,cos,tan}(float|complex): float|complex ` -- trigonometric sine,
207209 cosine or tangent.
208210 * :code: `{arcsin,arccos,arctan}(float|complex): float|complex ` -- trigonometric
209211 inverse sine, cosine or tangent.
210212 * :code: `arctan2(float1, float2): float ` -- trigonometric inverse tangent of
211213 float1/float2.
214+ * :code: `hypot(float1, float2): float ` -- Euclidean distance between float1, float2
215+ * :code: `nextafter(float1, float2): float ` -- next representable floating-point value after
216+ float1 in direction of float2
217+ * :code: `copysign(float1, float2): float ` -- return number with magnitude of float1 and
218+ sign of float2
219+ * :code: `{maximum,minimum}(float1, float2): float ` -- return max/min of float1, float2
212220 * :code: `{sinh,cosh,tanh}(float|complex): float|complex ` -- hyperbolic sine,
213221 cosine or tangent.
214222 * :code: `{arcsinh,arccosh,arctanh}(float|complex): float|complex ` -- hyperbolic
215223 inverse sine, cosine or tangent.
216- * :code: `{log,log10,log1p}(float|complex): float|complex ` -- natural, base-10 and
224+ * :code: `{log,log10,log1p,log2 }(float|complex): float|complex ` -- natural, base-10 and
217225 log(1+x) logarithms.
218226 * :code: `{exp,expm1}(float|complex): float|complex ` -- exponential and exponential
219227 minus one.
220228 * :code: `sqrt(float|complex): float|complex ` -- square root.
221- * :code: `abs(float|complex): float|complex ` -- absolute value.
229+ * :code: `trunc(float): float ` -- round towards zero
230+ * :code: `round(float|complex|int): float|complex|int ` -- round to nearest integer (`rint `)
231+ * :code: `sign(float|complex|int): float|complex|int ` -- return -1, 0, +1 depending on sign
232+ * :code: `abs(float|complex|int): float|complex|int ` -- absolute value.
222233 * :code: `conj(complex): complex ` -- conjugate value.
223234 * :code: `{real,imag}(complex): float ` -- real or imaginary part of complex.
224235 * :code: `complex(float, float): complex ` -- complex from real and imaginary
0 commit comments