Actions
Bug #5514
closedThe implementation of 'coerce' needs a review
Start date:
12/19/2014
Due date:
% Done:
100%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
2.2.14
Description
The implementation is very simple: size is changed, extra bits are set to zero.
Sign extension is not supported, which causes bugs. Also, conversion from different data type families (e.g float to integer is not supported)/
Updated by Alexander Kamkin over 9 years ago
- Subject changed from [model]The implementation of 'coerce' needs a review to The implementation of 'coerce' needs a review
- Category set to ISA Simulator
- Target version set to 2.1
Updated by Alexander Kamkin over 9 years ago
- Category changed from ISA Simulator to 90
Updated by Alexander Kamkin over 9 years ago
- Target version changed from 2.1 to 2.2
Updated by Andrei Tatarnikov over 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
See r4613 and r4638.
Implementation was reviewed:
- Currently, coercion is supported for INT, CARD and BOOLEAN. For all other types an exception is raised.
- Sign extension is done on coercion to INT (signed integer). In all other cases, zero extension is performed.
Support for other types will be implemented when we face such a need.
Updated by Andrei Tatarnikov over 9 years ago
- Status changed from Resolved to Closed
- Published in build set to 2.2.14
Actions