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.4 required=5.0 tests=BAYES_00,FAKE_REPLY_C, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,febd9e55846c9556 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-05 09:49:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: "David C. Hoos" Newsgroups: comp.lang.ada Subject: Re: Endianness independance Date: Wed, 5 Mar 2003 11:49:09 -0600 Organization: ENST, France Message-ID: Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1046886564 34792 137.194.161.2 (5 Mar 2003 17:49:24 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 5 Mar 2003 17:49:24 +0000 (UTC) To: "comp.lang.ada mail to news gateway" Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:34926 Date: 2003-03-05T11:49:09-06:00 ----- Original Message ----- From: "Warren W. Gay VE3WWG" Newsgroups: comp.lang.ada To: Sent: Wednesday, March 05, 2003 11:28 AM Subject: Re: Endianness independance > If you look carefully at GLADE, you will notice that all that is > being done there is "byte swapping". There is more to independent > network formats than that (it just happens to work with _most_ > modern platforms at the moment). > > The problem that XDR solved was that they specified a network > independent format for floating point types. If you try to use > GLADE on hosts that use different floating point formats, then > no amount of byte swapping is going to make them compatible! > Agreed. However, at the end of the day, there is no solution at all for communication between machines with differing ranges for the exponent and mantissa, so the notion of platform independence must have certain caveats about some details of the platforms which must at least support some level of commonality.