enhanced __float128 handling

added qse_strvfmt() and qse_strxvfmt()
This commit is contained in:
2013-11-03 16:01:39 +00:00
parent fa47ad2965
commit 91c9182ad7
54 changed files with 447 additions and 248 deletions

View File

@ -341,10 +341,14 @@ static int print_expr (qse_awk_t* awk, qse_awk_nde_t* nde)
}
else
{
qse_char_t buf[64];
qse_awk_sprintflt (
awk, buf, QSE_COUNTOF(buf),
((qse_awk_nde_flt_t*)nde)->val);
qse_char_t buf[96];
qse_strxfmt (
buf, QSE_COUNTOF(buf),
QSE_T("%zf"),
((qse_awk_nde_flt_t*)nde)->val
);
PUT_SRCSTR (awk, buf);
}
break;