marcandrysco / Errol

Binary floating-point to decimal string conversion algorithm.
MIT License
102 stars 7 forks source link

Wrong result for DBL_MAX #2

Closed Remotion closed 8 years ago

Remotion commented 8 years ago

errol3_dtoa(1.7976931348623157e+308, buf); //output 0.0e309

marcandrysco commented 8 years ago

I fixed the edge cases of DBL_MAX in both Errol1 and Errol3. I added test cases for DBL_MAX and DBL_MIN.