qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Running QEMU on FreeBSD


From: Bartosz Fabianowski
Subject: Re: [Qemu-devel] Running QEMU on FreeBSD
Date: Mon, 31 May 2004 02:36:42 +0200
User-agent: Mozilla Thunderbird 0.6 (X11/20040517)

I just discovered another problem with your patch.

Before applying your patch, I was using my own hack that resorted to normal precision doubles for FPU emulation. This resulted in incorrect rounding as could be easily seen when running Windows Update. The total number of megabytes to download was something like 10.99999999999998. Obviously, something had gone wrong with precision and rounding.

However, after I have applied your patch, which imports from Linux the functions required to use long doubles, the situation got worse. The total number of megabytes to be downloaded by Windows Update is now shown as NaN. I know from previous installs that it should be a moderately sized number, something such as 10 or 20 megabytes. So it's not the rounding of an immensely large number or of a ridiculously small one that is going wrong. There is some other issue surfacing here that makes a perfectly normal-sized floating point number become a NaN.

It's 2:30am here in Europe right now and I won't investigate this further tonight. But if you have time to, maybe you can have a look and see if you can find the source of this problem.

- Bartosz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]