mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
long double
This commit is contained in:
parent
651ababc74
commit
66cf8a3904
1 changed files with 4 additions and 1 deletions
|
@ -346,7 +346,10 @@ __efgfmt(Fmt *fmt)
|
|||
int pad, point, prec, realchr, sign, sufwid, ucase, wid, z1, z2;
|
||||
Rune r, *rs, *rt;
|
||||
|
||||
f = va_arg(fmt->args, double);
|
||||
if(f->flags&FmtLong)
|
||||
f = va_arg(fmt->args, long double);
|
||||
else
|
||||
f = va_arg(fmt->args, double);
|
||||
|
||||
/*
|
||||
* extract formatting flags
|
||||
|
|
Loading…
Reference in a new issue