From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7e8cebf09cf80560 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!goblin1!goblin3!goblin.stu.neva.ru!exi-transit.telstra.net!news.telstra.net!exi-spool.telstra.net!exi-reader.telstra.net!not-for-mail From: "robin" Newsgroups: comp.lang.ada References: <4d80b140$0$43832$c30e37c6@exi-reader.telstra.net> Subject: Re: How would Ariane 5 have behaved if overflow checking were notturned off? Date: Thu, 17 Mar 2011 22:48:22 +1100 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: <4d8200cd$0$43837$c30e37c6@exi-reader.telstra.net> NNTP-Posting-Host: 123.3.20.123 X-Trace: 1300365518 exi-reader.telstra.net 43837 123.3.20.123:1030 Xref: g2news2.google.com comp.lang.ada:19248 Date: 2011-03-17T22:48:22+11:00 List-Id: Simon Wright wrote in message ... >"robin" writes: > >> An error handler would have rescued the mission. > >Errm - if the fixed-point type used for horizontal velocity was say > > delta 2.0**-14 range -2.0 .. 2.0 > >the compiler would almost certainly have packed it so that there were no >spare bits; 1.9999 would be represented as 16#3fff#. The value, presumably, in an integer word is, well, an integer. > So if the value >that is to be fitted into this type is >= 2.0, there is no way to >represent it and any calculations based on the velocity over the ground >as stored would be garbage. Plenty of scope to substitute a signed value of max. magnitude.