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

negative-infinityclj


not-a-numberclj


positive-infinityclj


zeroclj

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

× close