Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antlr/codebuff
/ fitsInInt
Method
fitsInInt
output/java_guava/1.4.19/LongMath.java:1040–1042 ·
view source on GitHub ↗
(long x)
Source
from the content-addressed store, hash-verified
1038
// algorithm would lead to an overflow.
1039
1040
static
boolean fitsInInt(long x) {
1041
return
(
int
) x == x;
1042
}
1043
1044
/**
1045
* 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