[libc-commits] [PATCH] D116777: [libc] Add rounding mode support for MPFR testing macros.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Jan 12 23:25:35 PST 2022
sivachandra added inline comments.
Comment at: libc/test/src/math/SqrtTest.h:70
+ T x(2.0);
+ mpfr::ForceRoundingMode r1(mpfr::RoundingMode::Nearest);
+ EXPECT_MPFR_MATCH(mpfr::Operation::Sqrt, x, func(x), 0.5,
I am assuming this is just a demo and that you will remove it before submitting.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libc-commits