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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c705819cb47d80d9 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 28 Aug 2006 21:04:01 -0500 From: "Steve" Newsgroups: comp.lang.ada References: <44f09ac3$1_3@news.bluewin.ch> Subject: Re: Portable Ada floating-point binary I/O ? Date: Mon, 28 Aug 2006 19:03:59 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Message-ID: NNTP-Posting-Host: 24.20.111.245 X-Trace: sv3-ug1wXBdo7lVDaya2tUeEXRxxlwWqRcFsw1JxFqxV/a269+QoCKON8O+nbfv/qPknz9aFk4bRPWH+GTS!1sJ2kQv5oqDDcFpl93DR9HbK8vDPAQV/PoY1AiCwMW1hzMNilF/c65ancocoS+7GJdBLL0W/QObx!Kmu/ugh6j/BynQ== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:6425 Date: 2006-08-28T19:03:59-07:00 List-Id: "Gautier" wrote in message news:44f09ac3$1_3@news.bluewin.ch... > Hullo! > Does somebody know about a way of doing floating-point I/O which > is portable across architectures (endianesses etc.) and a little > bit more compact than the representation with digits ? > If yes, is there an open-source Ada package doing it ? > TIA, Gautier I would suggest looking up XDR (the relevent one stands for "external data representation"). Searching for XDR and Ada comes up with a few hits you might try looking into. I hope this helps, Steve (The Duck) > ______________________________________________________________ > Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm > > NB: For a direct answer, e-mail address on the Web site!