Re: nan (was: math.e and misc.e)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jason Gade wrote:

> Thanks. I *am* working on compiling all of this stuff into a limits.e file...

Nice idea.

> It should have:
> Max integer value
> Max atom value
> normalized min atom value
> denormalized min atom value
> -- which of these to should actually be ATOM_MIN? in C, it is the normalized
> number that is defined as the min and I don't see the denormalized number
> anywhere.
> atom epsilon -- smallest precise atom scaled to 1.0
> Matt's get_epsilon() and next_higher_atom() and next_lower_atom() functions.
> 
> is_nan()
> is_infinite()
> 
> NAN_Q -- defined as a quiet NAN that can be assigned to atoms
> INFINITY
> 
> Anything else?

MIN_INTEGER = #C0000000      -- = -power(2,30)

Currently no other values come to my mind in this regard.

Regards,
   Juergen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu