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,8200c5d9633351c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!news.germany.com!news.belwue.de!news.uni-stuttgart.de!not-for-mail From: Peter Hermann Newsgroups: comp.lang.ada Subject: Re: How to byte swap an IEEE Float? Date: Fri, 1 Jul 2005 07:37:26 +0000 (UTC) Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: References: <1119966822.201891.303810@g49g2000cwa.googlegroups.com> <42c30054$0$27313$626a14ce@news.free.fr> <42c47184$0$24923$636a15ce@news.free.fr> X-Trace: infosun2.rus.uni-stuttgart.de 1120203446 31154 141.58.7.20 (1 Jul 2005 07:37:26 GMT) X-Complaints-To: news@news.uni-stuttgart.de NNTP-Posting-Date: Fri, 1 Jul 2005 07:37:26 +0000 (UTC) User-Agent: tin/1.7.8-20050315 ("Scalpay") (UNIX) (Linux/2.4.27 (i686)) Xref: g2news1.google.com comp.lang.ada:11808 Date: 2005-07-01T07:37:26+00:00 List-Id: Damien wrote: > It is only with floats that problems arise. of course. I just pointed to copyable code. Conceivable are (e.g. GNAT-specific) mapped machine independent floating point types for transfer purposes with a couple of predefined mantissa and exponent sizes. They may be more efficient than human readable text strings (in any number base). -- --Peter Hermann(49)0711-68587244 fax209 ica2ph@csv.ica.uni-stuttgart.de --Nobelstr.19 Raum 0.030, D-70550 Stuttgart Uni Hoechstleistungsrechnen --http://www.csv.ica.uni-stuttgart.de/homes/ph/