tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: your mail



On May 25,  6:21pm, bouyer%antioche.eu.org@localhost (Manuel Bouyer) wrote:
-- Subject: Re: your mail

| I think we should use the value used upstream, or something close,
| to be on the safe side.
| DBL_MAX / 32 is still way too large, compared to 1e150.
| Why not use min(DBL_MAX / 32, 1e150) ?

It will not compile on the vax. How about:

#include <float.h>

#if DBL_MAX_10_EXP < 40
#define GLU_TESS_MAX_COORD 1e15
#else
#define GLU_TESS_MAX_COORD 1e150
#endif

christos


Home | Main Index | Thread Index | Old Index