Sign in
android
/
platform
/
external
/
musl
/
3ea3fcf78a5532e118856846df8adbf3f60ef716
/
.
/
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
;
}