[PATCH v2] Replace copysign (0,-1) with -0.0 in initializer
Vincent Lefevre
vincent@vinc17.net
Tue Dec 17 21:42:24 GMT 2024
On 2024-12-17 18:07:41 +0000, Joseph Myers wrote:
> We can rely on -0.0 working everywhere in glibc.
I think that I have never seen any issue with -0.0.
> Only signs of NaNs are problematic,
Note that NaNs do not have a sign. They just have a sign bit, but
except for IEEE 754 interchange formats, this is optional.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Libc-alpha
mailing list