Liking cljdoc? Tell your friends :D

same.platform

Platform-specific code, to try to minimise reader conditionals in the rest of the codebase.

Platform-specific code, to try to minimise reader conditionals in the rest of the codebase.
raw docstring

bit-diff-doubleclj/s

(bit-diff-double f1 f2)

Difference between two doubles in ULPs (i.e. number of representable numbers between them + 1).

Difference between two doubles in ULPs (i.e. number of representable numbers between them + 1).
sourceraw docstring

bit-diff-floatclj/s

(bit-diff-float f1 f2)

Difference between two floats in ULPs (i.e. number of representable numbers between them + 1).

Difference between two floats in ULPs (i.e. number of representable numbers between them + 1).
sourceraw docstring

is-array?clj/s

(is-array? a)

Return true if a is an array.

Return true if `a` is an array.
sourceraw docstring

is-infinite?clj/s

(is-infinite? f)

Return true if f is infinite.

Return true if `f` is infinite.
sourceraw docstring

max-valueclj/s

The largest representable non-infinite Double.

The largest representable non-infinite Double.
sourceraw docstring

nan?clj/s

(nan? f)

Return true if f is NaN (Not-a-Number)

Return true if `f` is NaN (Not-a-Number)
sourceraw docstring

signclj/s

(sign f)

Return the sign of f (+1 if positive, -1 if negative, 0 if zero, or NaN if NaN).

Return the sign of `f` (+1 if positive, -1 if negative, 0 if zero, or NaN if NaN).
sourceraw docstring

to-floatclj/s

(to-float f)

Round f to a single precision (32-bit) float.

Round `f` to a single precision (32-bit) float.
sourceraw docstring

ulpclj/s

(ulp f)

Units in the Last Place (ULP) of f (difference between f and the next largest representable number).

Units in the Last Place (ULP) of `f` (difference between f and the next largest representable number).
sourceraw docstring

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

× close