Subject: Re: accuracy of "long double"
To: Joerg Sonnenberger <>
From: None <>
List: tech-toolchain
Date: 08/31/2007 17:36:01
Als Joerg Sonnenberger schrieb:

> You can change the FPU state on a per process base and for portable
> applications (across i386 OSes) I would actively reocmment to do so.

Richtig! :)

Besides, I failed to located where exactly the FP control word is set for
<double> operation. There is a test in npx.c where this register is compared
with 0x03XX, so at this point we are still at the default contents.

Odd enough, there are also some libm functions that purposely alter the CW bit
to enter full precision mode.

All in all, all that seems a bit messy ! :)