www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/20/16:31:00

From: Kevin AT Quitt DOT net (Kevin D. Quitt)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: floating point/numeric question
Date: Fri, 20 Dec 1996 20:35:42 GMT
Organization: Cruisin' from home
Lines: 18
Message-ID: <32d0f818.146197771@news.pacificnet.net>
References: <01ICWAM1K0POAR29Q9 AT mail> <UmiQp_600iWm08B340 AT andrew DOT cmu DOT edu>
Reply-To: Kevin AT Quitt DOT net
NNTP-Posting-Host: 207.171.23.21
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Thu, 19 Dec 1996 18:18:34 -0500, Gary R Sekinger
<sekinger+@andrew.cmu.edu> wrote:
>Thanks for the insight, I think I'm doomed. I kinda thought DJGPP
>provided some level of platform independence and provided "source code
>compatibility" with its Unix counterparts.

C does not speak about how FP works, although it does set some minimal
constants for what float/doubles must be able to represent.  The thing
that provides platform independence for floats is the IEEE spec.  You
source code should produce identical results across machines that are
truly IEEE compliant.  If you expect to exchange data files between
systems, use ASCII, not binary.

--
#include <standard.disclaimer>
 _
Kevin D Quitt  USA 91351-4454           96.37% of all statistics are made up
Per the FCA, this email address may not be added to any commercial mail list

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019