mirror of
https://github.com/fluencelabs/musl
synced 2025-07-05 09:32:00 +00:00
9 lines
119 B
C
9 lines
119 B
C
![]() |
#include <stdlib.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
char *gcvt(double x, int n, char *b)
|
||
|
{
|
||
|
sprintf(b, "%.*g", n, x);
|
||
|
return b;
|
||
|
}
|