SmartCoder's blog

By SmartCoder, 13 years ago, In English

To all people whose confused about hacking his/her  first problem or faild system test because of precision issues.i also faild system test :(

accuracy in programming is very very important so let me tell you a short story . 
do you hear about "Ariane 5 rocke"  


On 4 June 1996, the maiden flight of the Ariane 5 launcher ended in a failure. Only about 40 seconds after initiation of the flight sequence, at an altitude of about 3700 m, the launcher veered off its flight path, broke up and exploded.

The failure of the Ariane 501 was caused by the complete loss of guidance and attitude information 37 seconds after start of the main engine ignition sequence (30 seconds after lift-off). This loss of information was due to specification and design errors in the software of the inertial reference system.

The internal SRI* software exception was caused during execution of a data conversion from 64-bit floating point to 16-bit signed integer value. The floating point number which was converted had a value greater than what could be represented by a 16-bit signed integer.

*SRI stands for Système de Référence Inertielle or Inertial Reference System.


FINALLY ,don't be sad you just lose less than 500 point but they lost 

$7 billion + $500 million

The destroyed rocket and its cargo :(
  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
13 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Don't you hear a story about military airplane and bug in its software? The story says that there was a bug: in another hemisphere (south for example) computer swaps up and down.