Assigning infinity to double causes a range check error
Original Reporter info from Mantis: PaulIsh
-
Reporter name: Paul Ishenin
Original Reporter info from Mantis: PaulIsh
- Reporter name: Paul Ishenin
Description:
The next program cause a range check error during compilation with range check on:
program test;
uses
Math;
var
D: Double;
begin
D := Infinity;
end.
Delphi compiles the same code without errors.
Mantis conversion info:
- Mantis ID: 16315
- OS: windows
- OS Build: 7
- Platform: win32
- Version: 2.5.1
- Fixed in version: 2.6.0
- Fixed in revision: 15765 (#0085c22c)