| 1 | /** |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. |
| 3 | * This file is part of the mingw-w64 runtime package. |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ |
| 6 | |
| 7 | #define __pi_type(x) \ |
| 8 | __builtin_choose_expr ( \ |
| 9 | __builtin_types_compatible_p (__typeof__ (x), float), \ |
| 10 | 3.14159265F, \ |
| 11 | __builtin_choose_expr ( \ |
| 12 | __builtin_types_compatible_p (__typeof__ (x), double), \ |
| 13 | 3.14159265358979323846, \ |
| 14 | __builtin_choose_expr ( \ |
| 15 | __builtin_types_compatible_p (__typeof__ (x), long double), \ |
| 16 | 3.1415926535897932384626433832795029L, \ |
| 17 | __builtin_trap()))) |