You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/stdmath.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@ Function | Use
22
22
`is_int(x)` | Returns `1` if `x` is an integer, `0` otherwise. Equivalent to `x :: x$`.
23
23
`is_prime(n)` | Returns `1` if `n` is prime, `0` otherwise.
24
24
`lcm(a, b)` | Returns the least common multiple of `a` and `b`.<br>If any of the arguments is zero,<br> then the returned value is `0`.
25
-
`max(array)` | Returns the largest value in `array`.
26
-
`min(array)` | Returns the smallest value in `array`.
25
+
`max(array[, values...])`| Returns the largest value in `array` if only one argument is passed,<br>otherwise returns the largest value in `[array] + values`.
26
+
`min(array[, values...])`| Returns the smallest value in `array` if only one argument is passed,<br>otherwise returns the smallest value in `[array] + values`.
27
27
`product(array)` | Multiplies the items of `array` from left to right and returns the total.<br>The `array`'s items must be numbers.
28
28
`round(x[, ndigits])` | Returns `x` rounded to `ndigits` precision after the decimal point.<br>Works exactly like Python's [`round()`](https://docs.python.org/3/library/functions.html#round).
29
29
`shl(a, b)` | Returns `a` shifted to the left by `b` bits.
0 commit comments