aboutsummaryrefslogtreecommitdiff
path: root/charf.c
diff options
context:
space:
mode:
authorJulian Weigt <juw@posteo.de>2026-02-20 15:23:26 +0100
committerJulian Weigt <juw@posteo.de>2026-02-20 15:23:26 +0100
commit840d294a4a1e0c4286b162007f49a8233350a9c2 (patch)
treee9b766ed76dbdbb0005b0f501bc07f326d3d32d5 /charf.c
parentf3af023f94c8822c0cc7e66f3d030efd2108c9ef (diff)
Change double to long double because numbers get too big for high derivatives.
Diffstat (limited to 'charf.c')
-rw-r--r--charf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/charf.c b/charf.c
index d2a42c8..0028dc5 100644
--- a/charf.c
+++ b/charf.c
@@ -34,8 +34,8 @@ Floating point without error bounds are the default.
#define EXPTYPE unsigned int
#else
#include "double.h"
-#define VALUETYPE double
-#define EXPTYPE double
+#define VALUETYPE long double
+#define EXPTYPE long double
#endif
#define STRING_SIZE 65536