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=0.6 required=5.0 tests=BAYES_00,FROM_WORDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fd63afa4dc364b7e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-25 08:58:07 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone2.usenetserver.com!news-out.usenetserver.com!newscon06.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!newssvr16.news.prodigy.com.POSTED!not-for-mail From: "Ken Garlington" Newsgroups: comp.lang.ada References: <98m938$2iod0$1@ID-25716.news.dfncis.de><98pgs1$32up7$1@ID-25716.news.dfncis.de><98umc6$39coj$1@ID-25716.news.dfncis.de> Subject: Re: Static typing (Was Re: Better support for garbage collection) Organization: ex-FlashNet, now Prodigy X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <0rpv6.57$GL3.7469109@newssvr16.news.prodigy.com> NNTP-Posting-Host: 65.65.211.16 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr16.news.prodigy.com 985539388 6207069 65.65.211.16 (Sun, 25 Mar 2001 11:56:28 EST) NNTP-Posting-Date: Sun, 25 Mar 2001 11:56:28 EST Date: Sun, 25 Mar 2001 16:56:28 GMT Xref: supernews.google.com comp.lang.ada:6037 Date: 2001-03-25T16:56:28+00:00 List-Id: "Ken Garlington" wrote in message news:XVov6.54$aC3.6927396@newssvr16.news.prodigy.com... : "Robert A Duff" wrote in message : news:wccofutg3ku.fsf@world.std.com... : : Of course x/y is not a literal. : : My claim is that you shouldn't have to write ".0" on a floating point : : literal that happens to be an integer. That is, : : : : X: Float := 0; : : Y: Float := 1/2; : : : : should be legal. Just for the sake of completeness, I also want to point out that the second declaration *can* be legal... if you use the following: package Float_Away is function "/" (Left, Right: Standard.Integer) return Standard.Float; end Float_Away;