This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In op-numeric-unary-minusint1args-1.txt the expected result is 2147483648. but the result of an unary operation with an int should be int. but from datatypes 3.3.17 2147483648 is not in the range of int.
Hey Uwe: Thanks for the comment. Actually that section states "... int is ·derived· from long by setting the value of ·maxInclusive· to be 2147483647 and ·minInclusive· to be -2147483648. ...", which does includes the value "-2147483648" as the minimum value. I will marked the bug as "Assigned" for now. Please comment further if you wish. Thanks Carmelo
Hey Carmelo, i agree, but shouldn't be the result of an unary operation with an int be an int? If not this is a misunderstanding, and the bug can be closed as invalid.
Uwe: You are correct. I was overlooking the boundary value. I corrected the test to use a value within the boundaries. Thanks for the observation. Please close the bug if in agreement. The changed test should be part of the new release, which should be out later this week/early next. Thanks, Carmelo
Thanks for your cooperation.