6c075e25851d8b2e90ca5aa680c7f1a0b792dcd1
[musl] / gcvt.c
1 #include <stdlib.h>
2 #include <stdio.h>
3
4 char *gcvt(double x, int n, char *b)
5 {
6         sprintf(b, "%.*g", n, x);
7         return b;
8 }