Re:FastDoubleParser: Java port of Daniel Lemires fast_double...
by slavik81 on Tuesday March 23, 2021 @12:44AM
(#26551216)
I suppose the main point I was trying to convey is that the code snippet gopalv quoted is not ugly because it's C-like. That ternary expression doesn't appear in the original C++ implementation at all. Many of the things people are complaining about—like relying on the return value of a prefix increment—are only in the Java version.
C++:
Java: