Skip to content

Commit

Permalink
Include pi_v test in 'onerous' set
Browse files Browse the repository at this point in the history
- appears to take too many iterations on Apple Clang
- reported under #887 but is unrelated
  • Loading branch information
John McFarlane committed Jul 30, 2022
1 parent 5a3b538 commit 99be283
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/scaled_int/numbers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,13 @@ namespace {
std::numbers::pi_v<cnl::scaled_integer<std::int32_t, cnl::power<-16>>>,
std::numbers::pi_v<long double>),
.0000021L);
#if defined(CNL_IMPL_ONEROUS_EVALUATION)
EXPECT_LT(
get_error(
std::numbers::pi_v<cnl::scaled_integer<std::uint64_t, cnl::power<-62>>>,
std::numbers::pi_v<long double>),
.000000001L);
#endif
}

TEST(scaled_integer_constants, invpi) // NOLINT
Expand Down

0 comments on commit 99be283

Please sign in to comment.