← Prev in month ← Prev in thread
Next in thread → Next in month →

[xacml] SH03: handling of divide-by-zero

From
System <>
Date
2002-10-16T14:53:00+00:00
ID
Thread
[xacml] SH03: handling of divide-by-zero
MHonArc v2.5.2 -->
















xacml message






[Date Prev]
 | [Thread Prev]
 | [Thread Next]
 | [Date Next]

--

[Date Index]
 | [Thread Index]
 | [Elist Home]








Subject: [xacml] SH03: handling of divide-by-zero




From: Steve Hanna <>
To: XACML TC <>
Date: Wed, 16 Oct 2002 14:45:48 -0400






Section A.12 Arithmetic evaluation says that trap-enablers
SHALL all be set to 0. I believe that this means that a
division by zero will produce a result of positive or
negative infinity and proceed along happily. That seems
surprising and contradicts sections 6.11 and B.9, which
imply that a division by zero will produce an indeterminate
result.

I suggest that you change section A.12 to say that all
trap-enablers SHALL be set to 0 except division-by-zero,
which SHALL be set to 1. Then you can change the description
of the integer-divide and decimal-divide functions in
section A.13.2 to say that they SHALL produce a result
of indeterminate with a processing-error status if the
divisor is 0.

Thanks,

Steve Hanna
Sun Microsystems, Inc.
← Prev in month ← Prev in thread
Next in thread → Next in month →