Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antlr/codebuff
/ fitsInInt
Method
fitsInInt
output/java_guava/1.4.16/LongMath.java:1057–1059 ·
view source on GitHub ↗
(long x)
Source
from the content-addressed store, hash-verified
1055
// algorithm would lead to an overflow.
1056
1057
static
boolean fitsInInt(long x) {
1058
return
(
int
) x == x;
1059
}
1060
1061
/**
1062
* Returns the arithmetic mean of {@code x} and {@code y}, rounded toward negative infinity. This
Callers
1
sqrt
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected