delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/02/13:30:03.1

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "infonews" <usrinfousr AT libero DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: Types double , float
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <hGmq8.109980$1S3.3510722@twister1.libero.it>
Date: Tue, 2 Apr 2002 20:20:39 +0200
NNTP-Posting-Host: 151.30.168.10
X-Complaints-To: abuse AT libero DOT it
X-Trace: twister1.libero.it 1017771789 151.30.168.10 (Tue, 02 Apr 2002 20:23:09 MET DST)
NNTP-Posting-Date: Tue, 02 Apr 2002 20:23:09 MET DST
Organization: [Infostrada]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm learning C. I cannot find where are written the rules of coding
of data in double or float types.
  int n = 5   -----> in memory  is 0500 ,  OK.
 double  n = 5  ------> 0000000000001440     ?????
 float  n = 5 --------->0000A040     ????
Anybody is so kind to solve this my puzzle ?
Thanks in advance.


- Raw text -


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