Liking cljdoc? Tell your friends :D

piotr-yuxuan.primitive-math


*cljmacro

(* x2164)
(* x__2132__auto__ y__2133__auto__)
(* x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of *

A primitive macro version of `*`
raw docstring

+cljmacro

(+ x2148)
(+ x__2132__auto__ y__2133__auto__)
(+ x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of +

A primitive macro version of `+`
raw docstring

-cljmacro

(- x2154)
(- x__2132__auto__ y__2133__auto__)
(- x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of -

A primitive macro version of `-`
raw docstring

/cljmacro

(/ x2170)
(/ x__2132__auto__ y__2133__auto__)
(/ x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of /

A primitive macro version of `/`
raw docstring

<cljmacro

(< x2238)
(< x__2140__auto__ y__2141__auto__)
(< x__2140__auto__ y__2141__auto__ & rest__2142__auto__)

A primitive macro version of <

A primitive macro version of `<`
raw docstring

<<cljmacro

(<< n bits)

An alias for bit-shift-left.

An alias for `bit-shift-left`.
raw docstring

<=cljmacro

(<= x2246)
(<= x__2140__auto__ y__2141__auto__)
(<= x__2140__auto__ y__2141__auto__ & rest__2142__auto__)

A primitive macro version of <=

A primitive macro version of `<=`
raw docstring

==cljmacro

(== x2262)
(== x__2140__auto__ y__2141__auto__)
(== x__2140__auto__ y__2141__auto__ & rest__2142__auto__)

A primitive macro version of ==

A primitive macro version of `==`
raw docstring

>cljmacro

(> x2230)
(> x__2140__auto__ y__2141__auto__)
(> x__2140__auto__ y__2141__auto__ & rest__2142__auto__)

A primitive macro version of >

A primitive macro version of `>`
raw docstring

>=cljmacro

(>= x2254)
(>= x__2140__auto__ y__2141__auto__)
(>= x__2140__auto__ y__2141__auto__ & rest__2142__auto__)

A primitive macro version of >=

A primitive macro version of `>=`
raw docstring

>>cljmacro

(>> n bits)

An alias for bit-shift-right.

An alias for `bit-shift-right`.
raw docstring

>>>cljmacro

(>>> n bits)

An alias for bit-unsigned-shift-right.

An alias for `bit-unsigned-shift-right`.
raw docstring

bit-andcljmacro

(bit-and x2182)
(bit-and x__2132__auto__ y__2133__auto__)
(bit-and x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of bit-and

A primitive macro version of `bit-and`
raw docstring

bit-notcljmacro

(bit-not x)

A primitive macro version of bit-not.

A primitive macro version of `bit-not`.
raw docstring

bit-orcljmacro

(bit-or x2188)
(bit-or x__2132__auto__ y__2133__auto__)
(bit-or x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of bit-or

A primitive macro version of `bit-or`
raw docstring

bit-shift-leftcljmacro

(bit-shift-left n bits)

A primitive macro version of bit-shift-left.

A primitive macro version of `bit-shift-left`.
raw docstring

bit-shift-rightcljmacro

(bit-shift-right n bits)

A primitive macro version of bit-shift-right.

A primitive macro version of `bit-shift-right`.
raw docstring

bit-xorcljmacro

(bit-xor x2194)
(bit-xor x__2132__auto__ y__2133__auto__)
(bit-xor x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of bit-xor

A primitive macro version of `bit-xor`
raw docstring

bool-andcljmacro

(bool-and x2200)
(bool-and x__2132__auto__ y__2133__auto__)
(bool-and x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of bool-and

A primitive macro version of `bool-and`
raw docstring

bool-notcljmacro

(bool-not x)

A primitive macro version of not.

A primitive macro version of `not`.
raw docstring

bool-orcljmacro

(bool-or x2206)
(bool-or x__2132__auto__ y__2133__auto__)
(bool-or x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of bool-or

A primitive macro version of `bool-or`
raw docstring

bool-xorcljmacro

(bool-xor x2212)
(bool-xor x__2132__auto__ y__2133__auto__)
(bool-xor x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of bool-xor

A primitive macro version of `bool-xor`
raw docstring

byteclj

(byte x)

Truncates a number to a byte, will not check for overflow.

Truncates a number to a byte, will not check for overflow.
raw docstring

byte->ubyteclj

(byte->ubyte x)

Converts a byte to an unsigned byte.

Converts a byte to an unsigned byte.
raw docstring

deccljmacro

(dec x)

A primitive macro version of dec.

A primitive macro version of `dec`.
raw docstring

divcljmacro

(div x2176)
(div x__2132__auto__ y__2133__auto__)
(div x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of div

A primitive macro version of `div`
raw docstring

doubleclj

(double x)

Converts a number to a double.

Converts a number to a double.
raw docstring

double->longclj

(double->long x)

Converts a double to a long.

Converts a double to a long.
raw docstring

false?cljmacro

(false? x)

A primitive macro version of false?.

A primitive macro version of `false?`.
raw docstring

floatclj

(float x)

Truncates a number to a float, will not check for overflow.

Truncates a number to a float, will not check for overflow.
raw docstring

float->intclj

(float->int x)

Converts a float to an integer.

Converts a float to an integer.
raw docstring

inccljmacro

(inc x)

A primitive macro version of inc.

A primitive macro version of `inc`.
raw docstring

intclj

(int x)

Truncates a number to an int, will not check for overflow.

Truncates a number to an int, will not check for overflow.
raw docstring

int->floatclj

(int->float x)

Converts an integer to a float.

Converts an integer to a float.
raw docstring

int->uintclj

(int->uint x)

Converts an integer to an unsigned integer.

Converts an integer to an unsigned integer.
raw docstring

longclj

(long x)

Converts a number to a long.

Converts a number to a long.
raw docstring

long->doubleclj

(long->double x)

Converts a long to a double.

Converts a long to a double.
raw docstring

long->ulongclj

(long->ulong x)

Converts a long to an unsigned long.

Converts a long to an unsigned long.
raw docstring

maxcljmacro

(max x2224)
(max x__2132__auto__ y__2133__auto__)
(max x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of max

A primitive macro version of `max`
raw docstring

mincljmacro

(min x2218)
(min x__2132__auto__ y__2133__auto__)
(min x__2132__auto__ y__2133__auto__ & rest__2134__auto__)

A primitive macro version of min

A primitive macro version of `min`
raw docstring

not==cljmacro

(not== x2270)
(not== x__2140__auto__ y__2141__auto__)
(not== x__2140__auto__ y__2141__auto__ & rest__2142__auto__)

A primitive macro complement of ==

A primitive macro complement of `==`
raw docstring

remcljmacro

(rem n div)

A primitive macro version of rem.

A primitive macro version of `rem`.
raw docstring

reverse-doubleclj

(reverse-double x)

Inverts the endianness of a double.

Inverts the endianness of a double.
raw docstring

reverse-floatclj

(reverse-float x)

Inverts the endianness of a float.

Inverts the endianness of a float.
raw docstring

reverse-intclj

(reverse-int x)

Inverts the endianness of an int.

Inverts the endianness of an int.
raw docstring

reverse-longclj

(reverse-long x)

Inverts the endianness of a long.

Inverts the endianness of a long.
raw docstring

reverse-shortclj

(reverse-short x)

Inverts the endianness of a short.

Inverts the endianness of a short.
raw docstring

shortclj

(short x)

Truncates a number to a short, will not check for overflow.

Truncates a number to a short, will not check for overflow.
raw docstring

short->ushortclj

(short->ushort x)

Converts a short to an unsigned short.

Converts a short to an unsigned short.
raw docstring

true?cljmacro

(true? x)

A primitive macro version of true?.

A primitive macro version of `true?`.
raw docstring

ubyte->byteclj

(ubyte->byte x)

Converts an unsigned byte to a byte.

Converts an unsigned byte to a byte.
raw docstring

uint->intclj

(uint->int x)

Converts an unsigned integer to an integer.

Converts an unsigned integer to an integer.
raw docstring

ulong->longclj

(ulong->long x)

Converts an unsigned long to a long.

Converts an unsigned long to a long.
raw docstring

unsigned-bit-shift-rightcljmacro

(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.
raw docstring

unuse-primitive-operatorsclj

(unuse-primitive-operators)

Undoes the work of use-primitive-operators. This is idempotent.

Undoes the work of `use-primitive-operators`.  This is idempotent.
raw docstring

use-primitive-operatorsclj

(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..
raw docstring

ushort->shortclj

(ushort->short x)

Converts an unsigned short to a short.

Converts an unsigned short to a short.
raw docstring

zero?cljmacro

(zero? x)

A primitive macro version of zero?.

A primitive macro version of `zero?`.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close