On Mon, 13 Nov 2006 23:53:55 +0100 Roland Mainz wrote:
> Glenn Fowler wrote:
> > HUGE_VAL is +Inf on systems supporting IEEE Std 754-1985 and some
> > "huge" value denoting error on other systems
> >
> > ksh arithmetic supports Inf on all systems
> > so there's no need for { HUGE_VAL HUGE_VALF HUGE_VALL }
> Mhhh... why does "/usr/include/iso/math_c99.h" then define |HUGE_VAL*|
> seperately, followed by |INFINITY| ?
backwards compatibility?
there is no edict that ksh arithmetic implement the duplicated parts of c99
<math.h>
ksh documents and supports { Inf NaN } making { HUGE* INF* } macros superfluous
-- Glenn Fowler -- AT&T Research, Florham Park NJ --