Math & Logic
Returns the product of nums. (*) returns 1.
macrocljs.core
Returns the sum of nums. (+) returns 0.
macrocljs.core
If no ys are supplied, returns the negation of x, else subtracts the ys from x and returns the result.
macrocljs.core
If no denominators are supplied, returns 1/numerator, else returns numerator divided by all of the denominators.
macrocljs.core
Constant for Euler's number e, the base for natural logarithms. See: https://developer.mozilla.org/en-US/docs/Web/JavaSc...
valuecljs.math
Returns the remainder per IEEE 754 such that remainder = dividend - divisor * n where n is the integer closest to the e...
functioncljs.math
Constant for pi, the ratio of the circumference of a circle to its diameter. See: https://developer.mozilla.org/en-US/do...
valuecljs.math
Returns the absolute value of a.
functioncljs.core
Returns the arc cosine of a, in the range 0.0 to pi. If a is ##NaN or |a|>1 => ##NaN See: https://developer.mozilla.org/...
functioncljs.math
Returns the sum of x and y, throws an exception on overflow.
functioncljs.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 with ...
functioncljs.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 same s...
functioncljs.math
Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta). Computes ...
functioncljs.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 matching ...
functioncljs.math
Returns the smallest double greater than or equal to a, and equal to a mathematical integer. If a is ##NaN or ##Inf or #...
functioncljs.math
Returns a double with the magnitude of the first argument and the sign of the second. See: https://docs.oracle.com/javas...
functioncljs.math
Returns the cosine of an angle. If a is ##NaN, ##-Inf, ##Inf => ##NaN See: https://developer.mozilla.org/en-US/docs/Web/...
functioncljs.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 is zero...
functioncljs.math
Returns a number one less than num.
macrocljs.core
Returns a decremented by 1, throws ArithmeticException on overflow.
functioncljs.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 => +0.0 ...
functioncljs.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 => #Inf If...
functioncljs.math
Returns the largest double less than or equal to a, and equal to a mathematical integer. If a is ##NaN or ##Inf or ##-In...
functioncljs.math
Integer division that rounds to negative infinity (as opposed to zero). See: https://docs.oracle.com/javase/8/docs/api/j...
functioncljs.math
Integer modulus x - (floorDiv(x, y) * y). Sign matches y and is in the range -|y| < r < |y|. See: https://docs.oracle.co...
functioncljs.math
Returns the exponent of d. If d is ##NaN, ##Inf, ##-Inf => max_Float64_exponent + 1 If d is zero or subnormal => min_Flo...
functioncljs.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 is #...
functioncljs.math
Returns a number one greater than num.
macrocljs.core
Returns a incremented by 1, throws ArithmeticException on overflow.
functioncljs.math
Returns the natural logarithm (base e) of a. If a is ##NaN or negative => ##NaN If a is ##Inf => ##Inf If a is zero => #...
functioncljs.math
Returns the logarithm (base 10) of a. If a is ##NaN or negative => ##NaN If a is ##Inf => ##Inf If a is zero => ##-Inf S...
functioncljs.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 ##-Inf or < -1 => ##...
functioncljs.math
Returns the greatest of the nums.
functioncljs.core
Returns the least of the nums.
functioncljs.core
Modulus of num and div. Truncates toward negative infinity.
functioncljs.core
Returns the product of x and y, throws ArithmeticException on overflow.
functioncljs.math
Returns the negation of a, throws ArithmeticException on overflow.
functioncljs.math
Returns the adjacent floating point number to start in the direction of the second argument. If the arguments are equal,...
functioncljs.math
Returns the adjacent double of d in the direction of ##-Inf. If d is ##NaN => ##NaN If d is ##Inf => Number/MAX_VALUE If...
functioncljs.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 zero =...
functioncljs.math
Returns the value of a raised to the power of b. For more details on special cases, see: https://developer.mozilla.org/e...
functioncljs.math
quot[ient] of dividing numerator by denominator.
functioncljs.core
Returns a random floating point number between 0 (inclusive) and n (default 1) (exclusive).
functioncljs.core
Returns a random integer between 0 (inclusive) and n (exclusive).
functioncljs.core
Return a random element of the (sequential) collection. Will have the same performance characteristics as nth for the gi...
functioncljs.core
Returns a positive double between 0.0 and 1.0, chosen pseudorandomly with approximately random distribution. Not cryptog...
functioncljs.math
remainder of dividing numerator by denominator.
functioncljs.core
Returns the double closest to a and equal to a mathematical integer. If two values are equally close, return the even on...
functioncljs.math
Returns the closest long to a. If equally close to two values, return the one closer to ##Inf. If a is ##NaN => 0 If a i...
functioncljs.math
Returns d * 2^scaleFactor, scaling by a factor of 2. If the exponent is between min_Float64_exponent and max_Float64_exp...
functioncljs.math
Returns the signum function of d - zero for zero, 1.0 if >0, -1.0 if <0. If d is ##NaN => ##NaN If d is ##Inf or ##-Inf ...
functioncljs.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 See: ht...
functioncljs.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: https...
functioncljs.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 See: ...
functioncljs.math
Returns the difference of x and y, throws ArithmeticException on overflow.
functioncljs.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 See:...
functioncljs.math
Returns the hyperbolic tangent of x, sinh(x)/cosh(x). If x is ##NaN => ##NaN If x is zero => zero, with same sign If x i...
functioncljs.math
Converts an angle in radians to an approximate equivalent angle in degrees. See: https://docs.oracle.com/javase/8/docs/a...
functioncljs.math
Converts an angle in degrees to an approximate equivalent angle in radians. See: https://docs.oracle.com/javase/8/docs/a...
functioncljs.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 d is z...
functioncljs.math
Returns the sum of nums. (+) returns 0.
macrocljs.core
Returns a number one less than x, an int.
macrocljs.core
If no denominators are supplied, returns 1/numerator, else returns numerator divided by all of the denominators.
macrocljs.core
- macro
cljs.core
Returns the product of nums. (*) returns 1.
macrocljs.core
- macro
cljs.core
- macro
cljs.core
If no ys are supplied, returns the negation of x, else subtracts the ys from x and returns the result.
macrocljs.core
Returns non-nil if nums are in monotonically increasing order, otherwise false.
macrocljs.core
Returns non-nil if nums are in monotonically non-decreasing order, otherwise false.
macrocljs.core
Equality. Returns true if x equals y, false if not. Compares numbers and collections in a type-independent manner. Cloj...
functioncljs.core
Returns non-nil if nums are in monotonically decreasing order, otherwise false.
macrocljs.core
Returns non-nil if nums are in monotonically non-increasing order, otherwise false.
macrocljs.core
Comparator. Returns a negative number, zero, or a positive number when x is logically 'less than', 'equal to', or 'grea...
functioncljs.core
Same as (not (= obj1 obj2))
functioncljs.core
Evaluates exprs one at a time, from left to right. If a form returns logical false (nil or false), and returns that valu...
macrocljs.core
Returns true if x is the value false, false otherwise.
macrocljs.core
Returns true if x is logical false, false otherwise.
functioncljs.core
Evaluates exprs one at a time, from left to right. If a form returns a logical true value, or returns that value and doe...
macrocljs.core
Returns true if x is the value true, false otherwise.
macrocljs.core