This adds functionality for rounding towards negative inf, positive inf,
and zero to the float hex conversion (%a).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libc/test/src/stdio/sprintf_test.cpp | ||
---|---|---|
716 | It is better to use ForceRoundingMode that was refactored in https://reviews.llvm.org/D129685. You can do something like: { ForceRoundingMode r(RoundingMode::Nearest); <tests> } without worrying about changing current / default rounding modes. |
It is better to use ForceRoundingMode that was refactored in https://reviews.llvm.org/D129685. You can do something like:
without worrying about changing current / default rounding modes.