MCPcopy Create free account
hub / github.com/antlr/codebuff / fitsInLong

Method fitsInLong

output/java_guava/1.4.16/BigIntegerMath.java:466–469  ·  view source on GitHub ↗
(BigInteger x)

Source from the content-addressed store, hash-verified

464 // Returns true if BigInteger.valueOf(x.longValue()).equals(x).
465
466 @GwtIncompatible // TODO
467 static boolean fitsInLong(BigInteger x) {
468 return x.bitLength() <= Long.SIZE - 1;
469 }
470
471 private BigIntegerMath() {}
472}

Callers 2

log10Method · 0.95
sqrtMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected