Not recognized, if a hex constant is out of range
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
The FP 1.00 compiler doesn't recognize, if a hex constant is out of range.
The example program provided is compiled without errors. The 36-bit constant
$789ABCDEF is simply truncated to 32 bit. Consequently, the program outputs
-1985229329
when executed. This is corresponding to $89ABCDEF.
Additional information:
Reporter: W.W. Heinz
EMail: ww at gpp dot gppm dot de
Mantis conversion info:
- Mantis ID: 3101
- OS: All
- Version: ?
- Fixed in version: 1.0.1