(fraction-to-base d base)
Returns a lazy sequence of the fractional values where each v >= 0 and < base. Note that this may be an infinite sequence.
Returns a lazy sequence of the fractional values where each v >= 0 and < base. Note that this may be an infinite sequence.
(int-to-base i base)
Convert integer portion to other base.
Convert integer portion to other base.
(split d)
Split decimal into integral and fractional parts. Will throw if integer portion is larger than a long can hold.
Split decimal into integral and fractional parts. Will throw if integer portion is larger than a long can hold.
(split' d)
Split decimal into integral and fractional parts. Support arbitrary precision.
Split decimal into integral and fractional parts. Support arbitrary precision.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close