(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |