remove dependency on quadmath.h

This commit is contained in:
Andrew Kelley
2017-08-18 13:19:34 -04:00
parent b73d4f74c2
commit 0aa36e882e

View File

@@ -10,7 +10,15 @@
#include "buffer.hpp"
#include <math.h>
#include <errno.h>
#include <quadmath.h>
extern "C" {
__float128 fmodq(__float128 a, __float128 b);
__float128 ceilq(__float128 a);
__float128 floorq(__float128 a);
__float128 strtoflt128 (const char *s, char **sp);
int quadmath_snprintf (char *s, size_t size, const char *format, ...);
}
void bigfloat_init_float(BigFloat *dest, __float128 x) {
dest->value = x;