>>>>> "DW" == David Whipp <[EMAIL PROTECTED]> writes:
DW> Dan Sugalski wrote:
>> Okay, I'm whipping together the "fancy math" section of the
>> interpreter assembly language. I've got:
DW> [...]
>> Can anyone think of things I've forgotten? It's been a while
>> since I've done numeric work.
DW> I'm not sure where this belongs, but I'd really like to have
DW> a usage model for some of the edges of arithmetic. For example,
DW> it should be possible to enable/disable overflow and underflow
DW> exceptions. Basically, Perl5 should be IEE754 compliant; and it
DW> should support the (optional) traps. It would also nice to have
DW> a saturation-on-overflow mode/type.
we are planning automatic over/underflow to bigfloat. so there is no
need for traps. they could be provided at the time of the conversion to
big*.
DW> If you have this type of stuff for floats; it'd be consistant to
DW> have it for integers, too.
overflow to bigint is also planned.
uri
--
Uri Guttman --------- [EMAIL PROTECTED] ---------- http://www.sysarch.com
SYStems ARCHitecture and Stem Development ------ http://www.stemsystems.com
Search or Offer Perl Jobs -------------------------- http://jobs.perl.org