This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: HUGE is missing in math.h


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]