On Thu, 17 Jul 2025 13:41:06 GMT, Roger Riggs <rri...@openjdk.org> wrote:
>> Raffaello Giulietti has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Added comment to COMPAT static field. > > src/java.base/share/classes/jdk/internal/math/FormattedFPDecimal.java line 51: > >> 49: >> 50: private boolean exact; // this decimal is an exact fp >> 51: private boolean away; // this decimal has a larger magnitude than fp > > Drive by comment. > The name "away" doesn't convey enough information nor the implications. A > longer comment somewhere might be in order. This is IEEE 754 jargon to say "away from zero", so towards the same signed infinity. I'll make the comment clearer in the next commit. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/26364#discussion_r2213403030