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.2 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, FROM_STARTS_WITH_NUMS autolearn=no 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: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Vinzent Hoefler" <0439279208b62c95f1880bf0f8776eeb@t-domaingrabbing.de> Newsgroups: comp.lang.ada Subject: Re: How would Ariane 5 have behaved if overflow checking were notturned off? Date: Wed, 16 Mar 2011 19:55:45 +0100 Message-ID: References: <4d80b140$0$43832$c30e37c6@exi-reader.telstra.net> <4d810172$0$4954$a8266bb1@postbox2.readnews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: individual.net MiJ/qJIaoFimaECrmpTuYgKXSp1p4RvK1sN03OoU3knYLUuPZd Cancel-Lock: sha1:OYoBQl0pJeGgUPwDtIGhHTsvZWU= User-Agent: Opera Mail/11.01 (Win32) Xref: g2news1.google.com comp.lang.ada:18252 Date: 2011-03-16T19:55:45+01:00 List-Id: Hyman Rosen wrote: > How about this for the essential flaw: Does it really make > sense to create data types in your program that are so closely > tied to external factors like rocket speed limits and angles? > Why not use data types that could handle the full range of > values from the sensor? Sure. So what is car supposed to do if the speed sensors read about 200_000 miles per second? Flash a little light to warn you about probably exceeding the current speed limit or presume a hardware error? Read: _Safe_ ranges are usually not operational limits. But then, if even the safe range is exceeded, what shall we do? Hope, the value wraps around and starts at zero again? Vin"-327.68 :)"zent. -- A C program is like a fast dance on a newly waxed dance floor by people carrying razors. -- Waldi Ravens