mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 00:16:38 +00:00

On some implementations, the current implementation leads to slight accuracy issues. While the maths behind this implementation is correct, it does not take into account the accumulation of errors coming from other operators that do not provide correct rounding (like the exp function). To avoid it, compute statically exp(-0.5625). Fixes #124939