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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,8d5151b6052512f7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-08 08:22:59 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!cyclone1.gnilink.net!in.100proofnews.com!in.100proofnews.com!tiscali!newsfeed1.ip.tiscali.net!proxad.net!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Overloading procedures with Float and Long_Float types Date: Mon, 8 Mar 2004 17:20:03 +0100 Organization: PVV Sender: Preben Randhol Message-ID: References: <404c7e53.0@entanet> <404c8da0.0@entanet> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: melchior.cuivre.fr.eu.org 1078762821 16060 212.85.156.195 (8 Mar 2004 16:20:21 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Mon, 8 Mar 2004 16:20:21 +0000 (UTC) Cc: comp.lang.ada@ada-france.org To: Luke Guest Return-Path: Content-Disposition: inline In-Reply-To: <404c8da0.0@entanet> User-Agent: Mutt/1.5.5.1+cvs20040105i X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:6151 Date: 2004-03-08T17:20:03+01:00 Luke Guest wrote on 08/03/2004 (16:25) : > If I only provide one, the Long_Float/GLdouble variant, I'll either have to > cast it down to GLfloat and use the fast function or use the slower > function. Not an option. It's designed that way for a reason. And the reason is? How does this work in C/C++ that doesn't even have types... I think the design is flawed. Either it should be: Translate_Double ( ); or Double.Translate ( ); etc... -- Preben Randhol -------------- http://www.pvv.org/~randhol/Ada95 -- �For me, Ada95 puts back the joy in programming.�