Wrong result for DBL_MAX in errol0_dtoa
wateret opened this issue · comments
#include <stdio.h>
#include <float.h>
#include "errol.h"
int main() {
char buffer[1024];
double d = DBL_MAX;
printf("%d\n%s\n", errol0_dtoa(d, buffer), buffer);
return 0;
}
Result
309
0
May need the same fix that is applied in errol1_dtoa
?