@@ -16,19 +16,19 @@ inline constexpr bool signbit(float __x) {
1616 if (__builtin_constant_p (__x)) {
1717 return (__builtin_copysign (1 .0f , __x) < 0 .0f );
1818 }
19- return static_cast < bool >( _signbitf (__x) );
19+ return _signbitf (__x);
2020}
2121inline constexpr bool signbit (double __x) {
2222 if (__builtin_constant_p (__x)) {
2323 return (__builtin_copysign (1.0 , __x) < 0.0 );
2424 }
25- return static_cast < bool >( _signbitf (__x) );
25+ return _signbitf (__x);
2626}
2727inline constexpr bool signbit (long double __x) {
2828 if (__builtin_constant_p (__x)) {
2929 return (__builtin_copysign (1 .0L , __x) < 0 .0L );
3030 }
31- return static_cast < bool >( _signbitl (__x) );
31+ return _signbitl (__x);
3232}
3333template <typename _Tp> inline constexpr
3434__cmath_enable_if_t <__cmath_is_integral_v<_Tp>, bool >
@@ -38,19 +38,19 @@ inline constexpr bool isinf(float __x) {
3838 if (__builtin_constant_p (__x)) {
3939 return __builtin_isinf (__x);
4040 }
41- return static_cast < bool >( _isinff (__x) );
41+ return _isinff (__x);
4242}
4343inline constexpr bool isinf (double __x) {
4444 if (__builtin_constant_p (__x)) {
4545 return __builtin_isinf (__x);
4646 }
47- return static_cast < bool >( _isinff (__x) );
47+ return _isinff (__x);
4848}
4949inline constexpr bool isinf (long double __x) {
5050 if (__builtin_constant_p (__x)) {
5151 return __builtin_isinf (__x);
5252 }
53- return static_cast < bool >( _isinfl (__x) );
53+ return _isinfl (__x);
5454}
5555template <typename _Tp> inline constexpr
5656__cmath_enable_if_t <__cmath_is_integral_v<_Tp>, bool >
@@ -60,19 +60,19 @@ inline constexpr bool isnan(float __x) {
6060 if (__builtin_constant_p (__x)) {
6161 return __builtin_isnan (__x);
6262 }
63- return static_cast < bool >( _isnanf (__x) );
63+ return _isnanf (__x);
6464}
6565inline constexpr bool isnan (double __x) {
6666 if (__builtin_constant_p (__x)) {
6767 return __builtin_isnan (__x);
6868 }
69- return static_cast < bool >( _isnanf (__x) );
69+ return _isnanf (__x);
7070}
7171inline constexpr bool isnan (long double __x) {
7272 if (__builtin_constant_p (__x)) {
7373 return __builtin_isnan (__x);
7474 }
75- return static_cast < bool >( _isnanl (__x) );
75+ return _isnanl (__x);
7676}
7777template <typename _Tp> inline constexpr
7878__cmath_enable_if_t <__cmath_is_integral_v<_Tp>, bool >
@@ -82,19 +82,19 @@ inline constexpr bool isnormal(float __x) {
8282 if (__builtin_constant_p (__x)) {
8383 return __builtin_isnormal (__x);
8484 }
85- return static_cast < bool >( _isnormalf (__x) );
85+ return _isnormalf (__x);
8686}
8787inline constexpr bool isnormal (double __x) {
8888 if (__builtin_constant_p (__x)) {
8989 return __builtin_isnormal (__x);
9090 }
91- return static_cast < bool >( _isnormalf (__x) );
91+ return _isnormalf (__x);
9292}
9393inline constexpr bool isnormal (long double __x) {
9494 if (__builtin_constant_p (__x)) {
9595 return __builtin_isnormal (__x);
9696 }
97- return static_cast < bool >( _isnormall (__x) );
97+ return _isnormall (__x);
9898}
9999template <typename _Tp> inline constexpr
100100__cmath_enable_if_t <__cmath_is_integral_v<_Tp>, bool >
@@ -104,19 +104,19 @@ inline constexpr bool isfinite(float __x) {
104104 if (__builtin_constant_p (__x)) {
105105 return __builtin_isfinite (__x);
106106 }
107- return static_cast < bool >( _isfinitef (__x) );
107+ return _isfinitef (__x);
108108}
109109inline constexpr bool isfinite (double __x) {
110110 if (__builtin_constant_p (__x)) {
111111 return __builtin_isfinite (__x);
112112 }
113- return static_cast < bool >( _isfinitef (__x) );
113+ return _isfinitef (__x);
114114}
115115inline constexpr bool isfinite (long double __x) {
116116 if (__builtin_constant_p (__x)) {
117117 return __builtin_isfinite (__x);
118118 }
119- return static_cast < bool >( _isfinitel (__x) );
119+ return _isfinitel (__x);
120120}
121121template <typename _Tp> inline constexpr
122122__cmath_enable_if_t <__cmath_is_integral_v<_Tp>, bool >
@@ -126,19 +126,19 @@ inline constexpr bool iszero(float __x) {
126126 if (__builtin_constant_p (__x)) {
127127 return (__x == 0 .0f );
128128 }
129- return static_cast < bool >( _iszerof (__x) );
129+ return _iszerof (__x);
130130}
131131inline constexpr bool iszero (double __x) {
132132 if (__builtin_constant_p (__x)) {
133133 return (__x == 0.0 );
134134 }
135- return static_cast < bool >( _iszerof (__x) );
135+ return _iszerof (__x);
136136}
137137inline constexpr bool iszero (long double __x) {
138138 if (__builtin_constant_p (__x)) {
139139 return (__x == 0 .0L );
140140 }
141- return static_cast < bool >( _iszerol (__x) );
141+ return _iszerol (__x);
142142}
143143template <typename _Tp> inline constexpr
144144__cmath_enable_if_t <__cmath_is_integral_v<_Tp>, bool >
@@ -148,19 +148,19 @@ inline constexpr bool issubnormal(float __x) {
148148 if (__builtin_constant_p (__x)) {
149149 return (FP_SUBNORMAL == __builtin_fpclassify (FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, __x));
150150 }
151- return static_cast < bool >( _issubnormalf (__x) );
151+ return _issubnormalf (__x);
152152}
153153inline constexpr bool issubnormal (double __x) {
154154 if (__builtin_constant_p (__x)) {
155155 return (FP_SUBNORMAL == __builtin_fpclassify (FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, __x));
156156 }
157- return static_cast < bool >( _issubnormalf (__x) );
157+ return _issubnormalf (__x);
158158}
159159inline constexpr bool issubnormal (long double __x) {
160160 if (__builtin_constant_p (__x)) {
161161 return (FP_SUBNORMAL == __builtin_fpclassify (FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, __x));
162162 }
163- return static_cast < bool >( _issubnormall (__x) );
163+ return _issubnormall (__x);
164164}
165165template <typename _Tp> inline constexpr
166166__cmath_enable_if_t <__cmath_is_integral_v<_Tp>, bool >
0 commit comments