Index: src/dtoa.cc |
=================================================================== |
--- src/dtoa.cc (revision 4612) |
+++ src/dtoa.cc (working copy) |
@@ -65,11 +65,12 @@ |
switch (mode) { |
case DTOA_SHORTEST: |
- return FastDtoa(v, buffer, length, point); |
+ return FastDtoa(v, FAST_DTOA_SHORTEST, 0, buffer, length, point); |
case DTOA_FIXED: |
return FastFixedDtoa(v, requested_digits, buffer, length, point); |
- default: |
- break; |
+ case DTOA_PRECISION: |
+ return FastDtoa(v, FAST_DTOA_PRECISION, requested_digits, |
+ buffer, length, point); |
} |
return false; |
} |