Liking cljdoc? Tell your friends :D

clj-cbor.data.float16

Implementation of IEEE 754 half-precision floating point.

Implementation of IEEE 754 half-precision floating point.
raw docstring

decodeclj

(decode x)

Returns a float value read as a half-precision IEEE floating-point number from the lower two bytes of x.

Returns a `float` value read as a half-precision IEEE floating-point number
from the lower two bytes of x.
sourceraw docstring

encodeclj

(encode x)

Returns an integer whose lower two bytes encode the given number in the half-precision IEEE floating point format.

Returns an integer whose lower two bytes encode the given number in the
half-precision IEEE floating point format.
sourceraw docstring

negative-infinityclj

source

not-a-numberclj

source

positive-infinityclj

source

zeroclj

source

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

× close