Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clojure/clojure
/ isZero
Method
isZero
src/jvm/clojure/lang/Numbers.java:886–891 ·
view source on GitHub ↗
(Number x)
Source
from the content-addressed store, hash-verified
884
}
885
886
public
boolean isZero(Number x){
887
BigInt bx = toBigInt(x);
888
if
(bx.bipart == null)
889
return
bx.lpart == 0;
890
return
bx.bipart.signum() == 0;
891
}
892
893
public
boolean isPos(Number x){
894
BigInt bx = toBigInt(x);
Callers
nothing calls this directly
Calls
1
toBigInt
Method · 0.80
Tested by
no test coverage detected