HUGE is missing in math.h

Richard Earnshaw rearnsha@gcc.gnu.org
Wed Jun 29 15:41:00 GMT 2005


On Wed, 2005-06-29 at 07:53, Schwarz, Konrad wrote:
> Pardon my innocence, but I believe C99 introduced floating point hex
> constants precisely for this purpose.

It does, but that's only half the story.  You still have to know which
hex constant represents HUGE_VALL on a particular machine -- that is
machine dependent because the type of long double is machine dependent.

R.



More information about the Newlib mailing list