projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add _SC_PHYS_PAGES and _SC_AVPHYS_PAGES extentions to sysconf
[musl]
/
src
/
stdlib
/
fcvt.c
diff --git
a/src/stdlib/fcvt.c
b/src/stdlib/fcvt.c
index
003aa5a
..
f90928f
100644
(file)
--- 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;
}