X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker 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: References: 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 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.