| ... | ... | @@ -10,7 +10,15 @@ |
| 10 | 10 | #include "buffer.hpp" |
| 11 | 11 | #include <math.h> |
| 12 | 12 | #include <errno.h> |
| 13 | | #include <quadmath.h> |
| 13 | |
| 14 | extern "C" { |
| 15 | __float128 fmodq(__float128 a, __float128 b); |
| 16 | __float128 ceilq(__float128 a); |
| 17 | __float128 floorq(__float128 a); |
| 18 | __float128 strtoflt128 (const char *s, char **sp); |
| 19 | int quadmath_snprintf (char *s, size_t size, const char *format, ...); |
| 20 | } |
| 21 | |
| 14 | 22 | |
| 15 | 23 | void bigfloat_init_float(BigFloat *dest, __float128 x) { |
| 16 | 24 | dest->value = x; |