comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Floating Point Bug on Intel Pentium CPUs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Floating Point Bug on Intel Pentium CPUs [message #3167 is a reply to message #3156] Wed, 23 November 1994 11:19 Go to previous messageGo to previous message
murthy is currently offline  murthy
Messages: 7
Registered: February 1994
Junior Member
Gregory D. Nowicki (nowicki@tardis.larc.nasa.gov) wrote:
: In article <3avsus$22n@spool.cs.wisc.edu>, Liam Gumley <liamg@ssec.wisc.edu> writes:
: >This is not strictly IDL related, but may affect IDL users on Pentium
: >platforms who run complicated models. Recent discussion in the
: >comp.sys.intel newsgroup has focussed on the discovery of a bug
: >in the floating point unit on Intel Pentium CPUs. The bug is evident
: >during divide operations. The following code reportedly will show the
: >bug. It should give zero (or near enough to it), but on the Pentium
: >it returns z = 256.
: >
: >x = 4195835.
: >y = 3145727.
: >z = x - (x/y)*y
: >
: >Apparently some kind of chip replacement strategy is being considered
: >by Intel. For more details, tune to comp.sys.intel
: >
: >Cheers,
: >Liam.
: >liamg@ssec.wisc.edu
: >

: Above problem only there if using DOUBLE precision math, (DOUBLE in IDL,
: real*8 in Fortran, double in C, etc.)

: -Greg

: /* Greg Nowicki | Mail Stop 401A | LIDAR Applications Group */
: /* NASA Langley Research Center | Hampton, Virginia 23681-0001 */
: /* Voice: (804) 864-2713 | FAX: (804) 864-7790 */
: /* nowicki@tardis.larc.nasa.gov | My opinions and mine alone . . . */

Not true. I get it using plain old FLOATs on my P90.

Jayant
--

Jayant Murthy murthy@pha.jhu.edu
410-516-7027
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL versus AVS
Next Topic: keypressed pauses program - how to do that?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 05:48:59 PDT 2025

Total time taken to generate the page: 0.31749 seconds