Test suite results for test file webtbs/tw3157.pp

Test run data :

Free Pascal Compiler Test Suite Results

View Test suite results

Please specify search criteria:
File:
Operating system:
Processor:
Version
Date
Submitter
Machine
Comment
Limit
Cond
Category
Only failed tests
Hide skipped tests
List all tests

Test file "webtbs/tw3157.pp" information:

t_id 1523
t_adddate 2005/03/14
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=19 Percentage= 38.00

Skipped=4 Percentage= 8.00

Result type Cat. Count Percentage First date Last Date
Failed to run 27 54.0 2024/10/19 07:29:00 50 2024/10/19 12:56:00 67
i386 1 3.7 2024/10/19 09:40:00 209 2024/10/19 09:40:00 209
m68k 1 3.7 2024/10/19 07:29:00 50 2024/10/19 07:29:00 50
powerpc 5 18.5 2024/10/19 08:35:00 146 2024/10/19 12:56:00 67
arm 2 7.4 2024/10/19 09:36:00 32 2024/10/19 10:03:00 32
x86_64 5 18.5 2024/10/19 08:27:00 30 2024/10/19 11:38:00 25
powerpc64 6 22.2 2024/10/19 08:43:00 65 2024/10/19 10:49:00 49
aarch64 3 11.1 2024/10/19 08:15:00 27 2024/10/19 09:32:00 28
sparc64 1 3.7 2024/10/19 08:23:00 137 2024/10/19 08:23:00 137
riscv64 1 3.7 2024/10/19 11:10:00 26 2024/10/19 11:10:00 26
loongarch64 2 7.4 2024/10/19 09:45:00 25 2024/10/19 10:17:00 30
linux 25 92.6 2024/10/19 07:29:00 50 2024/10/19 11:38:00 25
aix 2 7.4 2024/10/19 12:23:00 62 2024/10/19 12:56:00 67
3.3.1 19 70.4 2024/10/19 08:23:00 137 2024/10/19 12:56:00 67
3.2.3 8 29.6 2024/10/19 07:29:00 50 2024/10/19 09:32:00 37
Successfully run 19 38.0 2024/10/19 08:18:00 121 2024/10/19 13:36:00 24
sparc 2 10.5 2024/10/19 10:30:00 43 2024/10/19 11:16:00 40
powerpc 2 10.5 2024/10/19 08:40:00 51 2024/10/19 09:08:00 50
x86_64 4 21.1 2024/10/19 13:22:00 24 2024/10/19 13:36:00 24
powerpc64 3 15.8 2024/10/19 10:06:00 62 2024/10/19 11:23:00 69
mips 3 15.8 2024/10/19 08:18:00 121 2024/10/19 10:28:00 38
mipsel 2 10.5 2024/10/19 08:27:00 188 2024/10/19 09:59:00 38
sparc64 3 15.8 2024/10/19 09:25:00 118 2024/10/19 11:33:00 117
linux 10 52.6 2024/10/19 08:18:00 121 2024/10/19 11:33:00 117
solaris 4 21.1 2024/10/19 13:22:00 24 2024/10/19 13:36:00 24
aix 5 26.3 2024/10/19 08:40:00 51 2024/10/19 11:23:00 69
3.3.1 7 36.8 2024/10/19 09:54:00 35 2024/10/19 11:33:00 117
3.2.3 12 63.2 2024/10/19 08:18:00 121 2024/10/19 13:36:00 24
Skipping test because for other target 4 8.0 2024/10/19 08:55:00 60 2024/10/19 11:13:00 63
i386 4 100.0 2024/10/19 08:55:00 60 2024/10/19 11:13:00 63
go32v2 4 100.0 2024/10/19 08:55:00 60 2024/10/19 11:13:00 63
3.3.1 4 100.0 2024/10/19 08:55:00 60 2024/10/19 11:13:00 63

Source:

{ Source provided for Free Pascal Bug Report 3157 }
{ Submitted by "Michalis Kamburelis" on  2004-06-11 }
{ e-mail: michalis@camelot.homedns.org }

{$mode objfpc}

uses SysUtils, Math;

var
  c:Single;
  temp_float:double;
  temp_int:Integer;
begin
 try
  { cosh(800) =~ 1.36E+0347, this will fit in Extended but will
    not fit in Single or Double.
    So instruction below should raise Floating point overflow.
    But it does not (yet). }
  c:=cosh(800);  
 except
  on E:Exception do
    begin
      Writeln('Line "c:=..." raised ' +E.ClassName+ ': ' +E.Message);
      halt(0);
    end;
 end;

 temp_float:=9/200;
 try
  { This innocent instruction will raise EOverflow exception.

    Note: if this will be changed to "Round(9/200)" then
    this whole program will run with no exception
    (I guess that it's because "Round(9/200)" will be calculated
    at compile-time). }
  temp_int:=Round(temp_float);
 except
  on E:Exception do
   Writeln('Line "temp_int:=..." raised ' +E.ClassName+ ': ' +E.Message);
 end;
 halt(1);
end.

Link to SVN view of webtbs/tw3157.pp source.