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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,751584f55705ddb7 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Ada is almost useless in embedded systems Date: 1996/03/15 Message-ID: #1/1 X-Deja-AN: 143084825 references: <9603131418.AA01642@eight-ball> <4ichi8$17tg@watnews1.watson.ibm.com> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-03-15T00:00:00+00:00 List-Id: Norm Cohen asks "Let's face it, based literals were placed in Ada to provide a clear correspondence with bit patterns and with specifications expressed in binary, octal, or hex. Has anybody out there ever found a genuine application for literals in any of the bases 3 .. 7 | 9 | 11 .. 15?" In Ada 83, 3#0.1# is a nice way to write a literal value that is exactly 1.3. In Ada95, with its new rules on static expressions, it works equally well to write 1.0/3.0, so this is not so important