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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8d5151b6052512f7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-08 06:54:27 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!news.octanews.net!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Overloading procedures with Float and Long_Float types Date: Mon, 8 Mar 2004 14:54:26 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <404c7dbf.0@entanet> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1078757666 9633 134.91.1.34 (8 Mar 2004 14:54:26 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Mon, 8 Mar 2004 14:54:26 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:6143 Date: 2004-03-08T14:54:26+00:00 List-Id: Luke Guest wrote: : : Would this allow the compiler to determine whichprocedure to call based : purely on numbers? : : Translate(1.0, 0.0, 0.0); -- Is this Short_Float or Long_Float? Do the numeric literals have a meaning that can be said in a word? In this case you could declare typed constants, instead of placing literals somewhere in a program? -- Georg