Article View: comp.std.c
Article #4589Re: sizeof(1L) in preprocesor;How to tell sizeof(double)>sizeof(long) ?
From: Pete Forman
Date: Tue, 09 Jan 1996 09:52
Date: Tue, 09 Jan 1996 09:52
15 lines
1134 bytes
1134 bytes
>>>>> "Andreas" == Andreas Schwab <schwab@lamothe.informatik.uni-dortmund.de> writes:
>>>>> "Mark" == Mark Brader <msb@sq.com> writes:
Mark> #if LONG_MAX * DBL_EPSILON > 1
Andreas> This doesn't work as floating point numbers aren't
Andreas> allowed in #if expressions.
Try changing to something like
#if LONG_MAX >> DBL_MANT_DIG > 1
--
Pete Forman
Western Geophysical
pete.forman@bedford.waii.com
Technical Details
Message-ID:
<tuent98zl4.fsf@nemo.bedford.waii.com>Path:
arc1-ca.pugleaf.net!airgun.wg.waii.com!newsReferences:
<sc3f9vb6gk.fsf@lns101.lns.cornell.edu> <1996Jan5.094122.16151@sq.com> <vyzd98ug7w4.fsf@lamothe.informatik.uni-dortmund.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!airgun.wg.waii.com!news From: gsez020@nemo.bedford.waii.com (Pete Forman) Newsgroups: comp.std.c Subject: Re: sizeof(1L) in preprocesor;How to tell sizeof(double)>sizeof(long) ? Date: 09 Jan 1996 09:52:23 +0000 Organization: Western Geophysical, Div. of Western Atlas Int'l, Bedford, UK Sender: gsez020@nemo.bedford.waii.com Message-ID: <tuent98zl4.fsf@nemo.bedford.waii.com> References: <sc3f9vb6gk.fsf@lns101.lns.cornell.edu> <1996Jan5.094122.16151@sq.com> <vyzd98ug7w4.fsf@lamothe.informatik.uni-dortmund.de> NNTP-Posting-Host: nemo.bedford.waii.com In-reply-to: schwab@lamothe.informatik.uni-dortmund.de's message of 08 Jan 1996 13:58:51 +0100 X-Newsreader: Gnus v5.0.4