Sign in
cobalt
/
cobalt
/
refs/tags/24.lts.20
/
.
/
third_party
/
musl
/
src
/
stdlib
/
gcvt.c
blob: f29bc304e5bad0459c699422b273d6e381f2c539 [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<stdlib.h>
#include
<stdio.h>
char
*
gcvt
(
double
x
,
int
n
,
char
*
b
)
{
sprintf
(
b
,
"%.*g"
,
n
,
x
);
return
b
;
}