[libc-commits] [libc] [libc][NFC] Use FPBits builders instead of custom constructs (PR #75942)
Clement Courbet via libc-commits
libc-commits at lists.llvm.org
Tue Dec 19 07:42:53 PST 2023
================
@@ -199,7 +199,7 @@ double set_exceptional(double x) {
return x;
if (fputil::quick_get_round() == FE_UPWARD)
- return static_cast<double>(FPBits(FPBits::MIN_SUBNORMAL));
+ return FPBits::min_denormal();
----------------
legrosbuffle wrote:
[nit] We probably want to be consistent with sub vs denormal.
https://github.com/llvm/llvm-project/pull/75942
More information about the libc-commits
mailing list