Skip to main content

abs

functionv1.11

clojure.core/abs

Available in:BBCLJCLJS
(abs [a])
Returns the absolute value of a. If a is Long/MIN_VALUE => Long/MIN_VALUE If a is a double and zero => +0.0 If a is a double and ##Inf or ##-Inf => ##Inf If a is a double and ##NaN => ##NaN

No examples yet. Be the first to add one!