MCPcopy Index your code
hub / github.com/clojure/clojure / abs

Method abs

src/jvm/clojure/lang/Numbers.java:854–857  ·  view source on GitHub ↗
(Number x)

Source from the content-addressed store, hash-verified

852 }
853
854 public Number abs(Number x) {
855 Ratio r = (Ratio) x;
856 return new Ratio(r.numerator.abs(), r.denominator);
857 }
858
859}
860

Callers

nothing calls this directly

Calls 1

absMethod · 0.65

Tested by

no test coverage detected