HUGE is missing in math.h
Tim Prince
tprince@myrealbox.com
Tue Jun 28 14:24:00 GMT 2005
Dave Korn wrote:
>----Original Message----
>
>
>>From: Tim Prince
>>Sent: 28 June 2005 15:02
>>
>>
>
>
>
>>Dave Korn wrote:
>>
>>
>>
>>>----Original Message----
>>>
>>>
>>>
>>>
>>>>From: Tim Prince
>>>>Sent: 28 June 2005 13:36
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>>64-bit, 80-bit and 128-bit long long are supported in common
>>>>IEEE-compliant compilers,
>>>>
>>>>
>>>>
>>>>
>>> I'm not quite sure what you're getting at here, "long long" is an
>>>integer type. I'll assume that you meant to say "long double", and I
>>>imagine this would be the same as the reason why Jeff said that
>>>"HUGE_VALL is the only one that is difficult."
>>>
>>>
>>>
>>>
>>>
>>Right, thanks for correcting me.
>>
>>
>
>
> Heh, that wasn't the main point; what I'd be most interested to hear from
>you is whether you think casting INF to (long double) would be a valid way
>to generate HUGE_VALL, or not, if you have formed an opinion on the matter.
>
>
> cheers,
> DaveK
>
>
Looks reasonable to me.
More information about the Newlib
mailing list