Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/std/tests/P0811R3_midpoint_lerp/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,8 @@ bool test_lerp() {
return true;
}

#pragma warning(push)
#pragma warning(disable : 4756) // ignore constant arithmetic overflow warning
void test_gh_1917() {
// GH-1917 <cmath>: lerp(1e+308, 5e+307, 4.0) spuriously overflows
using bit_type = unsigned long long;
Expand Down Expand Up @@ -1110,6 +1112,7 @@ void test_gh_1917() {
}
#endif // _M_FP_STRICT
}
#pragma warning(pop)

constexpr bool test_gh_2112() {
// GH-2112 <cmath>: std::lerp is missing Arithmetic overloads
Expand Down