tech-x11 archive

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

Re: your mail



On Wed, May 25, 2016 at 01:19:39PM -0400, Christos Zoulas wrote:
> 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

yes that looks good.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index