techworld-with-milan - How a Single Line of Code Brought Down a Billion Dollar Rocket

Jolie Tranche de dead code.

Dans le genre: « ben ça a toujours marché avant » avec cette ligne de code vs, ben en fait, en gros, avec du matériel différent ...*boum*

What was the cause? A dead part of code from the last Ariane 4 mission, which began almost ten years prior, contained a simple and fixable programming error. The rocket used a method known as the horizontal bias, sometimes known as the BH value, to identify whether it was pointing up or down. This was represented using a 64-bit floating-point variable, which the guidance system used to convert to 16 16-bit signed integers. A 64-bit variable can represent billions of values, while a 16-bit can represent only 65,535 values.

Actuellement, pas mal d'outils disponibles aux programmeurs montrent le "code mort", cad du code qui n'est jamais appelé (en théorie, il y a toujours des exceptions qui confirment la règle).

How a Single Line of Code Brought Down a Billion Dollar Rocket

How a Single Line of Code Brought Down a Billion Dollar Rocket
techworld-with-milan.com

Haut de page