Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 206 #ifdef _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT
- 207 # if defined __LONG_DOUBLE_IEEE128__
- 208 // long double is __ieee128, define traits for __ibm128
- 209 template<>
- 210 ¦ struct __numeric_traits_floating<__ibm128>
- 211 ¦ {
- 212 ¦ ¦ static const int __max_digits10 = 33;
- 213 ¦ ¦ static const bool __is_signed = true;
- 214 ¦ ¦ static const int __digits10 = 31;
- 215 ¦ ¦ static const int __max_exponent10 = 308;
- 216 ¦ };
- 217 template<>
- 218 ¦ struct __numeric_traits<__ibm128>
- 219 ¦ : public __numeric_traits_floating<__ibm128>
- 220 ¦ { };
- 221 # elif defined __LONG_DOUBLE_IBM128__
- 222 // long double is __ibm128, define traits for __ieee128
- 223 template<>
- 224 ¦ struct __numeric_traits_floating<__ieee128>
- 225 ¦ {
- 226 ¦ ¦ static const int __max_digits10 = 36;
- 227 ¦ ¦ static const bool __is_signed = true;
- 228 ¦ ¦ static const int __digits10 = 33;
- 229 ¦ ¦ static const int __max_exponent10 = 4932;
- 230 ¦ };
- 231 template<>
- 232 ¦ struct __numeric_traits<__ieee128>
- 233 ¦ : public __numeric_traits_floating<__ieee128>
- 234 ¦ { };
- 235 # endif
- 236 #endif
Advertisement
Add Comment
Please, Sign In to add comment