The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: none
Declaration: function CPU_FDIVBugPresent: Boolean;

Intel Pentium chips manufactured before a certain date (approx. end of 1994) have a bug in their floating point processor which returns less than full precision results for some combinations of divisor and dividend when performing a floating point division (FDIV). A well known operation which exhibits this phenomenon is 4195835/3145727.

The function CPU_FDIVBugPresent tests the CPU for the FDIV bug and returns TRUE íf the bug has been detected.

Last Update: 2012-Okt-20