has_float128.cpp 335 B

1234567891011121314151617
  1. // Copyright John Maddock 2013.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. extern "C" {
  6. #include <quadmath.h>
  7. }
  8. int main()
  9. {
  10. __float128 f = -2.0Q;
  11. f = fabsq(f);
  12. return 0;
  13. }