diff options
Diffstat (limited to 'src/stdlib/fcvt.c')
-rw-r--r-- | src/stdlib/fcvt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/fcvt.c b/src/stdlib/fcvt.c index 003aa5aa..f90928fe 100644 --- a/src/stdlib/fcvt.c +++ b/src/stdlib/fcvt.c @@ -16,7 +16,7 @@ char *fcvt(double x, int n, int *dp, int *sign) if (n<=lz) { *sign = i; - *dp = 0; + *dp = 1; if (n>14U) n = 14; return "000000000000000"+14-n; } |