Message167316
> IEEE 754 doesn't help here, since it doesn't cover decimal
> floating-point <-> binary floating-point conversions.
OTOH, IEEE 754 *does* cover floating-point to int conversions (5.4.1, 5.8): those fall under 'general-computational operations', and as such should signal when given an sNaN (6.2: "Signaling NaNs shall be reserved operands that, under default exception handling, signal the invalid operation exception (see 7.2) for every general-computational and signaling-computational operation except for the conversions described in 5.12. For non-default treatment, see 8."). It feels to me as though decimal -> binary conversions should follow the same pattern. |
|
Date |
User |
Action |
Args |
2012-08-03 12:26:33 | mark.dickinson | set | recipients:
+ mark.dickinson, steven.daprano, skrah |
2012-08-03 12:26:33 | mark.dickinson | set | messageid: <1343996793.31.0.751630257687.issue15544@psf.upfronthosting.co.za> |
2012-08-03 12:26:32 | mark.dickinson | link | issue15544 messages |
2012-08-03 12:26:32 | mark.dickinson | create | |
|