On 08/14/2013 08:47 AM, David Emerson wrote: > > I don't see this TfpuRoundingMode mentioned anywhere in the > documentation, other than the "get" and "set" functions for the same. > What does it effect? > It sets the 8087 registers and or SSE registers in x86 and x64 systems. The problem is that the bankers mode rounding is the default IEEE 754 rounding and that is what the 8087 and SSE FPU's implements.
For SSE see http://www.rz.uni-karlsruhe.de/rz/docs/VTune/reference/vc148.htm For 8087 see http://books.google.fr/books?id=QZ9nM0nRQcYC&pg=PA244&lpg=PA244&dq=8087+rounding+mode&source=bl&ots=Vp3tSUsOeJ&sig=Jo7O9KggODpubD_ek5ZhKF-XgNc&hl=en&sa=X&ei=disLUs-zKMODhQeXxYCQCg&ved=0CEgQ6AEwBQ Ludo _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal