Files
clang-p2996/clang/test/SemaCXX/rounding-math.cpp
Serge Pavlov e620035a28 [clang] Use current rounding mode for float inc/dec (#73770)
Increment and decrement are equivalent to adding or subtracting 1. For
the floating-point values these operations depend on the current
rounding mode. Teach constant evaluator to perform ++ and -- according
to the current floating-point environment.

Pull request: https://github.com/llvm/llvm-project/pull/73770
2023-11-30 17:33:35 +07:00

2.7 KiB