Test suite results for test file test/tfpu2.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 "test/tfpu2.pp" information:

t_id 39
t_version 1.1
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=43 Percentage= 86.00

Skipped=4 Percentage= 8.00

Result type Cat. Count Percentage First date Last Date
Failed to run 3 6.0 2024/10/19 08:05:00 45 2024/10/19 10:46:00 141
sparc 2 66.7 2024/10/19 08:05:00 45 2024/10/19 10:30:00 43
sparc64 1 33.3 2024/10/19 10:46:00 141 2024/10/19 10:46:00 141
linux 3 100.0 2024/10/19 08:05:00 45 2024/10/19 10:46:00 141
3.3.1 3 100.0 2024/10/19 08:05:00 45 2024/10/19 10:46:00 141
Successfully run 43 86.0 2024/10/19 07:29:00 50 2024/10/19 13:36:00 24
i386 2 4.7 2024/10/19 09:40:00 209 2024/10/19 10:08:00 202
m68k 3 7.0 2024/10/19 07:29:00 50 2024/10/19 10:22:00 40
powerpc 7 16.3 2024/10/19 08:40:00 51 2024/10/19 13:26:00 65
arm 2 4.7 2024/10/19 09:36:00 32 2024/10/19 10:03:00 32
x86_64 8 18.6 2024/10/19 08:27:00 30 2024/10/19 13:36:00 24
powerpc64 9 20.9 2024/10/19 08:43:00 65 2024/10/19 11:23:00 69
mips 2 4.7 2024/10/19 09:54:00 35 2024/10/19 10:28:00 38
mipsel 2 4.7 2024/10/19 09:59:00 38 2024/10/19 10:35:00 142
aarch64 4 9.3 2024/10/19 08:15:00 27 2024/10/19 09:57:00 26
riscv64 2 4.7 2024/10/19 10:25:00 33 2024/10/19 11:10:00 26
loongarch64 2 4.7 2024/10/19 09:45:00 25 2024/10/19 10:17:00 30
linux 28 65.1 2024/10/19 07:29:00 50 2024/10/19 11:10:00 26
solaris 6 14.0 2024/10/19 13:22:00 24 2024/10/19 13:36:00 24
aix 9 20.9 2024/10/19 08:40:00 51 2024/10/19 13:26:00 65
3.3.1 25 58.1 2024/10/19 08:27:00 30 2024/10/19 13:26:00 65
3.2.3 18 41.9 2024/10/19 07:29:00 50 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:

{ %version=1.1 }

{$ifdef fpc}{$mode objfpc}{$endif}
program test_fpu_excpetions;

uses
  SysUtils;

  function mysqrt(x : real) : real;

    begin
      try
        mysqrt:=sqrt(x);
      except
        on e : exception do
          mysqrt:=0;
      end;
    end;

  var
    x, y,z : real;

begin
  x:=6.5;
  y:=5.76;
  z:=3.1;
  Writeln('Testing mysqrt (x) = sqrt(x) if x >= 0');
  Writeln('                   = 0       if x <  0');
  Writeln(' 6.5+5.76*mysqrt(3.1) = ',x+y*mysqrt(z):0:6);
  Writeln(' 6.5+5.76*mysqrt(-3.1) = ',x+y*mysqrt(-z):0:6);
end.

Link to SVN view of test/tfpu2.pp source.