mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 09:24:11 +00:00
- Hackfix floating point call in rtl's printf until the compiler guys get their shit together.
svn path=/trunk/; revision=41975
This commit is contained in:
parent
17fcd0b411
commit
92c0f0afef
|
@ -226,7 +226,9 @@ numberf(char * buf, char * end, double num, int base, int size, int precision, i
|
|||
{
|
||||
x = num;
|
||||
tmp[i++] = digits[do_div(&x,base)];
|
||||
#ifndef _M_ARM // Missing __floatdidf in CeGCC 0.55 -- GCC 4.4
|
||||
num=x;
|
||||
#endif
|
||||
}
|
||||
if (i > precision)
|
||||
precision = i;
|
||||
|
|
|
@ -226,7 +226,9 @@ numberf(wchar_t * buf, wchar_t * end, double num, int base, int size, int precis
|
|||
{
|
||||
x = num;
|
||||
tmp[i++] = digits[do_div(&x,base)];
|
||||
#ifndef _M_ARM // Missing __floatdidf in CeGCC 0.55 -- GCC 4.4
|
||||
num = x;
|
||||
#endif
|
||||
}
|
||||
if (i > precision)
|
||||
precision = i;
|
||||
|
|
Loading…
Reference in a new issue