[libc-commits] [libc] [libc][math] Optimize misc basic math operations with builtins when available (PR #99037)

via libc-commits libc-commits at lists.llvm.org
Wed Jul 17 04:33:52 PDT 2024


overmighty wrote:

The problem is that `maxss` doesn't behave the same as IEEE 754 `maximumNumber`. If one or both inputs are NaNs, `maxss` just returns the second input, whereas `maximumNumber` returns a quiet NaN unless both inputs are signaling NaNs.

https://github.com/llvm/llvm-project/pull/99037


More information about the libc-commits mailing list