Skip to main content

signum

functionv1.11

clojure.math/signum

Available in:BBCLJ
(signum [d])
Returns the signum function of d - zero for zero, 1.0 if >0, -1.0 if <0. If d is ##NaN => ##NaN See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#signum-double-

No examples yet. Be the first to add one!