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

Method lte

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

Source from the content-addressed store, hash-verified

826 }
827
828 public boolean lte(Number x, Number y){
829 Ratio rx = toRatio(x);
830 Ratio ry = toRatio(y);
831 return Numbers.lte(rx.numerator.multiply(ry.denominator), ry.numerator.multiply(rx.denominator));
832 }
833
834 public boolean gte(Number x, Number y){
835 Ratio rx = toRatio(x);

Callers

nothing calls this directly

Calls 3

lteMethod · 0.95
toRatioMethod · 0.80
multiplyMethod · 0.65

Tested by

no test coverage detected