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

Method isPos

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

Source from the content-addressed store, hash-verified

891 }
892
893 public boolean isPos(Number x){
894 BigInt bx = toBigInt(x);
895 if(bx.bipart == null)
896 return bx.lpart > 0;
897 return bx.bipart.signum() > 0;
898 }
899
900 public boolean isNeg(Number x){
901 BigInt bx = toBigInt(x);

Callers

nothing calls this directly

Calls 1

toBigIntMethod · 0.80

Tested by

no test coverage detected