Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
stdlib
/
gcvt.c
blob: 79387fb7165a716e833245f8a5463b190ba8aa66 [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<stdio.h>
#include
<stdlib.h>
char
*
gcvt
(
double
x
,
int
n
,
char
*
b
)
{
sprintf
(
b
,
"%.*g"
,
n
,
x
);
return
b
;
}