Skip to content

Commit 445839d

Browse files
committed
Also check division path for errors
1 parent df1439a commit 445839d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/github_issue_1106.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ void test()
2323

2424
BOOST_TEST(isinf(c));
2525
BOOST_TEST(signbit(c));
26+
27+
// The same as above in principle
28+
const auto d {a / (1/b)};
29+
BOOST_TEST(isinf(d));
30+
BOOST_TEST(signbit(d));
2631
}
2732

2833
int main()

0 commit comments

Comments
 (0)