@@ -18,12 +18,16 @@ static_assert(std::is_constructible<floating_point<float>, float>::value, "");
1818static_assert (!std::is_constructible<floating_point<float >, double >::value, " " );
1919static_assert (std::is_constructible<floating_point<double >, double >::value, " " );
2020static_assert (std::is_constructible<floating_point<double >, double >::value, " " );
21- static_assert (!std::is_constructible<floating_point<double >, long double >::value, " " );
21+ static_assert (std::is_constructible<floating_point<double >, long double >::value
22+ == (sizeof (double ) == sizeof (long double )),
23+ " " );
2224static_assert (std::is_assignable<floating_point<float >, float >::value, " " );
2325static_assert (!std::is_assignable<floating_point<float >, double >::value, " " );
2426static_assert (std::is_assignable<floating_point<double >, double >::value, " " );
2527static_assert (std::is_assignable<floating_point<double >, double >::value, " " );
26- static_assert (!std::is_assignable<floating_point<double >, long double >::value, " " );
28+ static_assert (std::is_assignable<floating_point<double >, long double >::value
29+ == (sizeof (double ) == sizeof (long double )),
30+ " " );
2731#endif
2832
2933TEST_CASE (" floating_point" )
0 commit comments