0-min
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
// fpc win32 1.9.6 and 1.9.9 (under XP) : return EIntOverflow, or runtime error 217
uses math;
var s1,s2:byte;
begin
s1:=2;
s2:=77;
writeln(0-min(s1,s2));
end.
// ... but this program work fine
uses math;
var s1,s2:byte;
begin
s1:=2;
s2:=77;
writeln(-min(s1,s2)); // I remove the '0'
end.
Additional information:
Reporter: Salvatore Licciardi
EMail: turylicciardi at tiscalinet dot it
Mantis conversion info:
- Mantis ID: 5860
- OS: All
- Version: 1.9.9
- Fixed in version: 1.9.9