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

Method isNeg

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

Source from the content-addressed store, hash-verified

898 }
899
900 public boolean isNeg(Number x){
901 BigInt bx = toBigInt(x);
902 if(bx.bipart == null)
903 return bx.lpart < 0;
904 return bx.bipart.signum() < 0;
905 }
906
907 final public Number add(Number x, Number y){
908 return toBigInt(x).add(toBigInt(y));

Callers

nothing calls this directly

Calls 1

toBigIntMethod · 0.80

Tested by

no test coverage detected