4 ms·
Why not nix the range check and just rely on the cast? As pointed out by another poster above, there are double values outside the ±2^53 but fits inside long.
by syockit 7y ago
Why not nix the range check and just rely on the cast? As pointed out by another poster above, there are double values outside the ±2^53 but fits inside long.
- qznc 7y agoThe range check filters out the cases where the cast is undefined.