mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 18:47:52 +02:00
+ cosh(800) should raise an floating point overflow
This commit is contained in:
parent
11d542cf8f
commit
266662971b
@ -28,7 +28,7 @@ begin
|
||||
on E:Exception do
|
||||
begin
|
||||
Writeln('Line "c:=..." raised ' +E.ClassName+ ': ' +E.Message);
|
||||
if E.ClassType<>EInvalidOp then
|
||||
if E.ClassType<>EOverflow then
|
||||
begin
|
||||
writeln('EInvalidOp exception expected');
|
||||
halt(1);
|
||||
|
Loading…
Reference in New Issue
Block a user