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

Method equiv

src/jvm/clojure/lang/Numbers.java:1041–1043  ·  view source on GitHub ↗
(Number x, Number y)

Source from the content-addressed store, hash-verified

1039 }
1040
1041 public boolean equiv(Number x, Number y){
1042 return toBigDecimal(x).compareTo(toBigDecimal(y)) == 0;
1043 }
1044
1045 public boolean lt(Number x, Number y){
1046 return toBigDecimal(x).compareTo(toBigDecimal(y)) < 0;

Callers

nothing calls this directly

Calls 2

compareToMethod · 0.45
toBigDecimalMethod · 0.45

Tested by

no test coverage detected