Math & Logic
Returns the product of nums. (*) returns 1. Does not auto-promote longs, will throw on overflow. See also: *'
functionclojure.core
Returns the sum of nums. (+) returns 0. Does not auto-promote longs, will throw on overflow. See also: +'
functionclojure.core
If no ys are supplied, returns the negation of x, else subtracts the ys from x and returns the result. Does not auto-p...
functionclojure.core
If no denominators are supplied, returns 1/numerator, else returns numerator divided by all of the denominators.
functionclojure.core
Constant for e, the base for natural logarithms. See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#E
valueclojure.math
Returns the remainder per IEEE 754 such that remainder = dividend - divisor * n where n is the integer closest to ...
functionclojure.math
Constant for pi, the ratio of the circumference of a circle to its diameter. See: https://docs.oracle.com/javase/8/doc...
valueclojure.math
Returns the absolute value of a. If a is Long/MIN_VALUE => Long/MIN_VALUE If a is a double and zero => +0.0 If a i...
functionclojure.core
Returns the arc cosine of a, in the range 0.0 to pi. If a is ##NaN or |a|>1 => ##NaN See: https://docs.oracle.com/ja...
functionclojure.math
Returns the sum of x and y, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/api/jav...
functionclojure.math
Returns the arc sine of an angle, in the range -pi/2 to pi/2. If a is ##NaN or |a|>1 => ##NaN If a is zero => zero w...
functionclojure.math
Returns the arc tangent of a, in the range of -pi/2 to pi/2. If a is ##NaN => ##NaN If a is zero => zero with the sa...
functionclojure.math
Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta). Compute...
functionclojure.math
Returns the cube root of a. If a is ##NaN => ##NaN If a is ##Inf or ##-Inf => a If a is zero => zero with sign mat...
functionclojure.math
Returns the smallest double greater than or equal to a, and equal to a mathematical integer. If a is ##NaN or ##Inf ...
functionclojure.math
Returns a double with the magnitude of the first argument and the sign of the second. See: https://docs.oracle.com/j...
functionclojure.math
Returns the cosine of an angle. If a is ##NaN, ##-Inf, ##Inf => ##NaN See: https://docs.oracle.com/javase/8/docs/api...
functionclojure.math
Returns the hyperbolic cosine of x, (e^x + e^-x)/2. If x is ##NaN => ##NaN If x is ##Inf or ##-Inf => ##Inf If x i...
functionclojure.math
Returns a number one less than num. Does not auto-promote longs, will throw on overflow. See also: dec'
functionclojure.core
Returns a decremented by 1, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/api/jav...
functionclojure.math
Returns Euler's number e raised to the power of a. If a is ##NaN => ##NaN If a is ##Inf => ##Inf If a is ##-Inf =>...
functionclojure.math
Returns e^x - 1. Near 0, expm1(x)+1 is more accurate to e^x than exp(x). If x is ##NaN => ##NaN If x is ##Inf => #In...
functionclojure.math
Returns the largest double less than or equal to a, and equal to a mathematical integer. If a is ##NaN or ##Inf or #...
functionclojure.math
Integer division that rounds to negative infinity (as opposed to zero). The special case (floorDiv Long/MIN_VALUE -1) ...
functionclojure.math
Integer modulus x - (floorDiv(x, y) * y). Sign matches y and is in the range -|y| < r < |y|. See: https://docs.oracl...
functionclojure.math
Returns the exponent of d. If d is ##NaN, ##Inf, ##-Inf => Double/MAX_EXPONENT + 1 If d is zero or subnormal => Doub...
functionclojure.math
Returns sqrt(x^2 + y^2) without intermediate underflow or overflow. If x or y is ##Inf or ##-Inf => ##Inf If x or y ...
functionclojure.math
Returns a number one greater than num. Does not auto-promote longs, will throw on overflow. See also: inc'
functionclojure.core
Returns a incremented by 1, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/api/jav...
functionclojure.math
Returns the natural logarithm (base e) of a. If a is ##NaN or negative => ##NaN If a is ##Inf => ##Inf If a is zer...
functionclojure.math
Returns the logarithm (base 10) of a. If a is ##NaN or negative => ##NaN If a is ##Inf => ##Inf If a is zero => ##...
functionclojure.math
Returns ln(1+x). For small values of x, log1p(x) is more accurate than log(1.0+x). If x is ##NaN or < -1 => ##NaN ...
functionclojure.math
Returns the greatest of the nums.
functionclojure.core
Returns the least of the nums.
functionclojure.core
Modulus of num and div. Truncates toward negative infinity.
functionclojure.core
Returns the product of x and y, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/api...
functionclojure.math
Returns the negation of a, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/api/java...
functionclojure.math
Returns the adjacent floating point number to start in the direction of the second argument. If the arguments are equa...
functionclojure.math
Returns the adjacent double of d in the direction of ##-Inf. If d is ##NaN => ##NaN If d is ##-Inf => ##-Inf If d ...
functionclojure.math
Returns the adjacent double of d in the direction of ##Inf. If d is ##NaN => ##NaN If d is ##Inf => ##Inf If d is ...
functionclojure.math
Returns the value of a raised to the power of b. For more details on special cases, see: https://docs.oracle.com/jav...
functionclojure.math
quot[ient] of dividing numerator by denominator.
functionclojure.core
Returns a random floating point number between 0 (inclusive) and n (default 1) (exclusive).
functionclojure.core
Returns a random integer between 0 (inclusive) and n (exclusive).
functionclojure.core
Return a random element of the (sequential) collection. Will have the same performance characteristics as nth for the ...
functionclojure.core
Returns a positive double between 0.0 and 1.0, chosen pseudorandomly with approximately random distribution. See: ht...
functionclojure.math
remainder of dividing numerator by denominator.
functionclojure.core
Returns the double closest to a and equal to a mathematical integer. If two values are equally close, return the even ...
functionclojure.math
Returns the closest long to a. If equally close to two values, return the one closer to ##Inf. If a is ##NaN => 0 ...
functionclojure.math
Returns d * 2^scaleFactor, scaling by a factor of 2. If the exponent is between Double/MIN_EXPONENT and Double/MAX_EXP...
functionclojure.math
Returns the signum function of d - zero for zero, 1.0 if >0, -1.0 if <0. If d is ##NaN => ##NaN See: https://docs.or...
functionclojure.math
Returns the sine of an angle. If a is ##NaN, ##-Inf, ##Inf => ##NaN If a is zero => zero with the same sign as a S...
functionclojure.math
Returns the hyperbolic sine of x, (e^x - e^-x)/2. If x is ##NaN => ##NaN If x is ##Inf or ##-Inf or zero => x See:...
functionclojure.math
Returns the positive square root of a. If a is ##NaN or negative => ##NaN If a is ##Inf => ##Inf If a is zero => a...
functionclojure.math
Returns the difference of x and y, throws ArithmeticException on overflow. See: https://docs.oracle.com/javase/8/docs/...
functionclojure.math
Returns the tangent of an angle. If a is ##NaN, ##-Inf, ##Inf => ##NaN If a is zero => zero with the same sign as a ...
functionclojure.math
Returns the hyperbolic tangent of x, sinh(x)/cosh(x). If x is ##NaN => ##NaN If x is zero => zero, with same sign ...
functionclojure.math
Converts an angle in radians to an approximate equivalent angle in degrees. See: https://docs.oracle.com/javase/8/docs...
functionclojure.math
Converts an angle in degrees to an approximate equivalent angle in radians. See: https://docs.oracle.com/javase/8/docs...
functionclojure.math
Returns the size of an ulp (unit in last place) for d. If d is ##NaN => ##NaN If d is ##Inf or ##-Inf => ##Inf If ...
functionclojure.math
Returns the sum of x and y, both long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns a number one less than x, a long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns the division of x by y, both int. Note - uses a primitive operator subject to truncation.
functionclojure.core
Returns a number one greater than x, a long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns the product of x and y, both long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns the negation of x, a long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Returns the remainder of division of x by y, both int. Note - uses a primitive operator subject to truncation.
functionclojure.core
Returns the difference of x and y, both long. Note - uses a primitive operator subject to overflow.
functionclojure.core
Bitwise
12Bitwise and
functionclojure.core
Bitwise and with complement
functionclojure.core
Clear bit at index n
functionclojure.core
Flip bit at index n
functionclojure.core
Bitwise complement
functionclojure.core
Bitwise or
functionclojure.core
Set bit at index n
functionclojure.core
Bitwise shift left
functionclojure.core
Bitwise shift right
functionclojure.core
Test bit at index n
functionclojure.core
Bitwise exclusive or
functionclojure.core
Bitwise shift right, without sign-extension.
functionclojure.core
Returns non-nil if nums are in monotonically increasing order, otherwise false.
functionclojure.core
Returns non-nil if nums are in monotonically non-decreasing order, otherwise false.
functionclojure.core
Equality. Returns true if x equals y, false if not. Same as Java x.equals(y) except it also works for nil, and compare...
functionclojure.core
Returns non-nil if nums are in monotonically decreasing order, otherwise false.
functionclojure.core
Returns non-nil if nums are in monotonically non-increasing order, otherwise false.
functionclojure.core
Comparator. Returns a negative number, zero, or a positive number when x is logically 'less than', 'equal to', or 'gre...
functionclojure.core
Same as (not (= obj1 obj2))
functionclojure.core
Evaluates exprs one at a time, from left to right. If a form returns logical false (nil or false), and returns that va...
macroclojure.core
Returns true if x is the value false, false otherwise.
functionclojure.core
Returns true if x is logical false, false otherwise.
functionclojure.core
Evaluates exprs one at a time, from left to right. If a form returns a logical true value, or returns that value and d...
macroclojure.core
Returns true if x is the value true, false otherwise.
functionclojure.core