Brian Silverman | 32ed54e | 2018-08-04 23:37:28 -0700 | [diff] [blame^] | 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 | |||||
6 | extern "C" { | ||||
7 | #include <quadmath.h> | ||||
8 | } | ||||
9 | |||||
10 | int main() | ||||
11 | { | ||||
12 | __float128 f = -2.0Q; | ||||
13 | f = fabsq(f); | ||||
14 | |||||
15 | return 0; | ||||
16 | } | ||||
17 |