delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/02/22/05:30:54

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
From: Sterten AT aol DOT com
Message-ID: <ceb.2b34e67e.34effb7d@aol.com>
Date: Fri, 22 Feb 2008 05:18:37 EST
Subject: Re: double
To: djgpp AT delorie DOT com
MIME-Version: 1.0
X-Mailer: 9.0 SE for Windows sub 5018
X-Spam-Flag: NO
Reply-To: djgpp AT delorie DOT com

-------------------------------1203675517
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

so, what's the difference between
 
float x;
 
and
 
double x;
 ?
 
40 bits ?
 
I need real numbers with high precision



   

-------------------------------1203675517
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3DUS-ASCII">
<META content=3D"MSHTML 6.00.5730.11" name=3DGENERATOR></HEAD>
<BODY id=3Drole_body style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY:=20=
Arial"=20
bottomMargin=3D7 leftMargin=3D7 topMargin=3D7 rightMargin=3D7><FONT id=3Drol=
e_document=20
face=3DArial color=3D#000000 size=3D2>
<DIV>so, what's the difference between</DIV>
<DIV>&nbsp;</DIV>
<DIV>float x;</DIV>
<DIV>&nbsp;</DIV>
<DIV>and</DIV>
<DIV>&nbsp;</DIV>
<DIV>double x;</DIV>
<DIV>&nbsp;?</DIV>
<DIV>&nbsp;</DIV>
<DIV>40 bits ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I need real numbers with high precision</DIV></FONT>   </BODY></HTML>

-------------------------------1203675517--

- Raw text -


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