Liking cljdoc? Tell your friends :D

com.evanjbowling.base.convert


fraction-to-baseclj

(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.
sourceraw docstring

int-to-baseclj

(int-to-base i base)

Convert integer portion to other base.

Convert integer portion to other base.
sourceraw docstring

splitclj

(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.
sourceraw docstring

split'clj

(split' d)

Split decimal into integral and fractional parts. Support arbitrary precision.

Split decimal into integral and fractional parts.
Support arbitrary precision.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close