Re: [CAD_CAM_EDM_DRO] Re: Conversion
Posted by
Steve Blackmore
on 2002-06-23 03:42:33 UTC
On Fri, 21 Jun 2002 23:53:58 -0000, you wrote:
Bug" circa November 1997.
Here's an interesting one I found this morning..
"Floating-point numbers are stored inside the microprocessor as
strings of 80 bits, whereas integers are stored in 16 or 32 bits.
Sometimes a floating-point number converted to an integer doesn't fit
the smaller format, and the microprocessor is supposed to provide an
"overflow" warning. The Pentium II didn't.
Interestingly, the launch failure of the Ariane 5 rocket, which
exploded 37 seconds after liftoff on June 4, 1996, occurred because of
a software error that resulted from converting a 64-bit floating point
number to a 16-bit integer. The value of the floating point number
happened to be larger than could be represented by a 16-bit integer.
The overflow wasn't handled properly, and in response, the computer
cleared its memory. The memory dump was interpreted by the rocket as
instructions to its rocket nozzles, and an explosion resulted."
The people who crashed that Mars probe probably used a similar
conversion factor ;)
Steve Blackmore
--
Pilot Consultancy Limited ***** Computer Consultants
Telephone 01744 752256 Mobile 07831 768478
Email: steve@... WWW: http://www.pilotltd.net
>Hi,Nope - done by the chip, remember all the hooha about the "Pentium
>
>I think the calculator in Windows "Programs / Accesories" must do the
>math in software instead of using hardware. Fixed point decimal math
>is carried out to 32 digit precision, hex math is fixed point, 64 bit
>precision. Pi is correct to 32 decimal places as well. I have tested
>a few transcendental functions for accuracy and it seems to be there
>to 32 decimal places.
Bug" circa November 1997.
Here's an interesting one I found this morning..
"Floating-point numbers are stored inside the microprocessor as
strings of 80 bits, whereas integers are stored in 16 or 32 bits.
Sometimes a floating-point number converted to an integer doesn't fit
the smaller format, and the microprocessor is supposed to provide an
"overflow" warning. The Pentium II didn't.
Interestingly, the launch failure of the Ariane 5 rocket, which
exploded 37 seconds after liftoff on June 4, 1996, occurred because of
a software error that resulted from converting a 64-bit floating point
number to a 16-bit integer. The value of the floating point number
happened to be larger than could be represented by a 16-bit integer.
The overflow wasn't handled properly, and in response, the computer
cleared its memory. The memory dump was interpreted by the rocket as
instructions to its rocket nozzles, and an explosion resulted."
>Besides Intel would never make a mistake like that; I am using the<G>
>very latest Pentium 3.999999999999965319 CPU.
The people who crashed that Mars probe probably used a similar
conversion factor ;)
Steve Blackmore
--
Pilot Consultancy Limited ***** Computer Consultants
Telephone 01744 752256 Mobile 07831 768478
Email: steve@... WWW: http://www.pilotltd.net
Discussion Thread
James Owens
2002-06-21 03:49:05 UTC
Conversion
Dan Statman
2002-06-21 04:17:59 UTC
Re: [CAD_CAM_EDM_DRO] Conversion
paul_alz
2002-06-21 08:28:58 UTC
Re: Conversion
afogassa
2002-06-21 08:29:33 UTC
Re: Conversion
Jon Elson
2002-06-21 10:11:51 UTC
Re: [CAD_CAM_EDM_DRO] Conversion
mariss92705
2002-06-21 10:26:10 UTC
Re: Conversion
Dave Lantz
2002-06-21 10:28:50 UTC
RE: [CAD_CAM_EDM_DRO] Re: Conversion
mariss92705
2002-06-21 10:39:04 UTC
Re: Conversion
Dave Lantz
2002-06-21 10:43:12 UTC
RE: [CAD_CAM_EDM_DRO] Re: Conversion
Carlos Guillermo
2002-06-21 11:22:13 UTC
RE: [CAD_CAM_EDM_DRO] Re: Conversion
Bill Vance
2002-06-21 11:31:31 UTC
Re: [CAD_CAM_EDM_DRO] Conversion
Dan Statman
2002-06-21 13:00:03 UTC
Re: [CAD_CAM_EDM_DRO] Re: Conversion
Doug Harrison
2002-06-21 15:27:13 UTC
Re: [CAD_CAM_EDM_DRO] Re: Conversion
Steve Blackmore
2002-06-21 16:03:44 UTC
Re: [CAD_CAM_EDM_DRO] Re: Conversion
JanRwl@A...
2002-06-21 16:40:20 UTC
Re: [CAD_CAM_EDM_DRO] Conversion
JanRwl@A...
2002-06-21 16:50:23 UTC
Re: [CAD_CAM_EDM_DRO] Re: Conversion
mariss92705
2002-06-21 16:54:00 UTC
Re: Conversion
mariss92705
2002-06-21 16:57:51 UTC
Re: Conversion
paul_alz
2002-06-21 17:12:29 UTC
Re: Conversion
James Owens
2002-06-21 17:35:35 UTC
Re: [CAD_CAM_EDM_DRO] Conversion
mayfieldtm
2002-06-21 19:19:57 UTC
Re: [CAD_CAM_EDM_DRO] Conversion
vavaroutsos
2002-06-21 21:04:48 UTC
Re: Conversion
Brian Pitt
2002-06-21 22:46:45 UTC
Re: [CAD_CAM_EDM_DRO] Conversion
bjammin@i...
2002-06-22 06:20:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: Conversion
JanRwl@A...
2002-06-22 20:44:58 UTC
Re: [CAD_CAM_EDM_DRO] Conversion
Steve Blackmore
2002-06-23 03:42:33 UTC
Re: [CAD_CAM_EDM_DRO] Re: Conversion