(* x)
(* x y)
(* x y & rest)
A primitive macro version of *
A primitive macro version of `*`
(+ x)
(+ x y)
(+ x y & rest)
A primitive macro version of +
A primitive macro version of `+`
(- x)
(- x y)
(- x y & rest)
A primitive macro version of -
A primitive macro version of `-`
(/ x)
(/ x y)
(/ x y & rest)
A primitive macro version of /
A primitive macro version of `/`
(< x)
(< x y)
(< x y & rest)
A primitive macro version of <
A primitive macro version of `<`
(<< n bits)
An alias for bit-shift-left
.
An alias for `bit-shift-left`.
(<= x)
(<= x y)
(<= x y & rest)
A primitive macro version of <=
A primitive macro version of `<=`
(== x)
(== x y)
(== x y & rest)
A primitive macro version of ==
A primitive macro version of `==`
(> x)
(> x y)
(> x y & rest)
A primitive macro version of >
A primitive macro version of `>`
(>= x)
(>= x y)
(>= x y & rest)
A primitive macro version of >=
A primitive macro version of `>=`
(>> n bits)
An alias for bit-shift-right
.
An alias for `bit-shift-right`.
(>>> n bits)
An alias for bit-unsigned-shift-right
.
An alias for `bit-unsigned-shift-right`.
(bit-and x)
(bit-and x y)
(bit-and x y & rest)
A primitive macro version of bit-and
A primitive macro version of `bit-and`
(bit-not x)
A primitive macro version of bit-not
.
A primitive macro version of `bit-not`.
(bit-or x)
(bit-or x y)
(bit-or x y & rest)
A primitive macro version of bit-or
A primitive macro version of `bit-or`
(bit-shift-left n bits)
A primitive macro version of bit-shift-left
.
A primitive macro version of `bit-shift-left`.
(bit-shift-right n bits)
A primitive macro version of bit-shift-right
.
A primitive macro version of `bit-shift-right`.
(bit-xor x)
(bit-xor x y)
(bit-xor x y & rest)
A primitive macro version of bit-xor
A primitive macro version of `bit-xor`
(bool-and x)
(bool-and x y)
(bool-and x y & rest)
A primitive macro version of bool-and
A primitive macro version of `bool-and`
(bool-not x)
A primitive macro version of not
.
A primitive macro version of `not`.
(bool-or x)
(bool-or x y)
(bool-or x y & rest)
A primitive macro version of bool-or
A primitive macro version of `bool-or`
(bool-xor x)
(bool-xor x y)
(bool-xor x y & rest)
A primitive macro version of bool-xor
A primitive macro version of `bool-xor`
(byte x)
Truncates a number to a byte, will not check for overflow.
Truncates a number to a byte, will not check for overflow.
(byte->ubyte x)
Converts a byte to an unsigned byte.
Converts a byte to an unsigned byte.
(dec x)
A primitive macro version of dec
.
A primitive macro version of `dec`.
(div x)
(div x y)
(div x y & rest)
A primitive macro version of div
A primitive macro version of `div`
(double x)
Converts a number to a double.
Converts a number to a double.
(double->long x)
Converts a double to a long.
Converts a double to a long.
(false? x)
A primitive macro version of false?
.
A primitive macro version of `false?`.
(float x)
Truncates a number to a float, will not check for overflow.
Truncates a number to a float, will not check for overflow.
(float->int x)
Converts a float to an integer.
Converts a float to an integer.
(inc x)
A primitive macro version of inc
.
A primitive macro version of `inc`.
(int x)
Truncates a number to an int, will not check for overflow.
Truncates a number to an int, will not check for overflow.
(int->float x)
Converts an integer to a float.
Converts an integer to a float.
(int->uint x)
Converts an integer to an unsigned integer.
Converts an integer to an unsigned integer.
(long->double x)
Converts a long to a double.
Converts a long to a double.
(long->ulong x)
Converts a long to an unsigned long.
Converts a long to an unsigned long.
(max x)
(max x y)
(max x y & rest)
A primitive macro version of max
A primitive macro version of `max`
(min x)
(min x y)
(min x y & rest)
A primitive macro version of min
A primitive macro version of `min`
(not== x)
(not== x y)
(not== x y & rest)
A primitive macro complement of ==
A primitive macro complement of `==`
(rem n div)
A primitive macro version of rem
.
A primitive macro version of `rem`.
(reverse-double x)
Inverts the endianness of a double.
Inverts the endianness of a double.
(reverse-float x)
Inverts the endianness of a float.
Inverts the endianness of a float.
(reverse-int x)
Inverts the endianness of an int.
Inverts the endianness of an int.
(reverse-long x)
Inverts the endianness of a long.
Inverts the endianness of a long.
(reverse-short x)
Inverts the endianness of a short.
Inverts the endianness of a short.
(short x)
Truncates a number to a short, will not check for overflow.
Truncates a number to a short, will not check for overflow.
(short->ushort x)
Converts a short to an unsigned short.
Converts a short to an unsigned short.
(true? x)
A primitive macro version of true?
.
A primitive macro version of `true?`.
(ubyte->byte x)
Converts an unsigned byte to a byte.
Converts an unsigned byte to a byte.
(uint->int x)
Converts an unsigned integer to an integer.
Converts an unsigned integer to an integer.
(ulong->long x)
Converts an unsigned long to a long.
Converts an unsigned long to a long.
(unsigned-bit-shift-right n bits)
A primitive macro which performs an unsigned right bit-shift.
A primitive macro which performs an unsigned right bit-shift.
(unuse-primitive-operators)
Undoes the work of use-primitive-operators
. This is idempotent.
Undoes the work of `use-primitive-operators`. This is idempotent.
(use-primitive-operators)
Replaces Clojure's arithmetic and number coercion functions with primitive equivalents. These are defined as macros, so they cannot be used as higher-order functions. This is an idempotent operation..
Replaces Clojure's arithmetic and number coercion functions with primitive equivalents. These are defined as macros, so they cannot be used as higher-order functions. This is an idempotent operation..
(ushort->short x)
Converts an unsigned short to a short.
Converts an unsigned short to a short.
(zero? x)
A primitive macro version of zero?
.
A primitive macro version of `zero?`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close