www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/03/06:45:03

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Types double , float
Date: 3 Apr 2002 11:38:15 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 23
Message-ID: <a8epj7$nb0$1@nets3.rz.RWTH-Aachen.DE>
References: <hGmq8.109980$1S3 DOT 3510722 AT twister1 DOT libero DOT it>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1017833895 23904 137.226.32.75 (3 Apr 2002 11:38:15 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 3 Apr 2002 11:38:15 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

infonews <usrinfousr AT libero DOT it> wrote:
> I'm learning C. I cannot find where are written the rules of coding
> of data in double or float types.
[...]
> Anybody is so kind to solve this my puzzle ?

The most important answer would be that this is not a puzzle you
should be trying to solve in the first place.  If your C textbook
tells you to learn about these details, throw it out the window and
get yourself a better one if you can afford it.

These are extremely platform-specific details, and the decisions about
them are made by the people who create processors, not those making C
compilers.

Knowledge of this type is not just pretty useless for somebody still
trying to learn a higher programming language like C, it's actually a
potential harm to the clarity of your thoughts that will make it
harder to code well, in the long run.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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