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-Thread: 103376,91965a012526b259 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!freenix!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Sender: obry@PASCAL Newsgroups: comp.lang.ada Subject: Re: Float to String References: <24Bkd.74362$HA.12207@attbi_s01> From: Pascal Obry Date: 11 Nov 2004 13:32:16 +0100 Message-ID: Organization: Home - http://perso.wanadoo.fr/pascal.obry User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 80.15.120.249 X-Trace: 1100176337 news.wanadoo.fr 9834 80.15.120.249:4180 X-Complaints-To: abuse@wanadoo.fr Xref: g2news1.google.com comp.lang.ada:6142 Date: 2004-11-11T13:32:16+01:00 List-Id: tmoran@acm.org writes: > The cosine here is presumably a large integer divided by the square root > of the product of two large integers. How about just writing the three > integers, so the external representation is completely accurate. Then let > the reader calculate the square root and division, thus generating as > accurate a float as it possibly can, given its hardware. Hum, I don't think this is an option for me with the current design. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595