[gfortran] commited, patch for PR 24685
Richard E Maine
Richard.Maine@nasa.gov
Wed Feb 15 15:43:00 GMT 2006
On Feb 15, 2006, at 1:31 AM, Tobias Schlüter wrote:
> Jakub Jelinek wrote:
>> Now, is Fortran huge() supposed to be infinity, or largest finite
>> number
>> of the chosen kind?
>
> The latter.
Neither. :-)
Though the latter is closer and is sometimes right. It is supposed to
be the largest *MODEL* number. It is possible for there to be finite
representable numbers that are larger than huge(). I don't think that
happens with IEEE, though I didn't sit down and check. It can happen
with some floatting point formats, though. One should not assume that
it is inherently impossible for a finite number to be greater than
huge.
--
Richard Maine | Good judgment comes from experience;
Richard.Maine@nasa.gov | experience comes from bad judgment.
| -- Mark Twain
More information about the Gcc-patches
mailing list