Test suite results for test file test/tfpu2.pp

Test run data :

Run ID:
Operating system: linux
Processor: sparc
Version: 3.3.1
Fails/OK/Total: 74/9147/9221
Version: 3.3.1
Full version: 3.3.1-15676-g9b1861a104
Comment: -XR/home/muller/sys-root/sparc-linux -Xd -Xr/home/muller/sys-root/sparc-linux
Machine: cfarm14
Category: 1
SVN revisions: 9b1861a104:d6cf3c98d0:e657d6a07d:485b31de21
Submitter: muller
Date: 2024/05/08 12:03:00 <> 2024/05/07
Previous run: 947426
Next run: 948796

Hide skipped tests

Hide successful 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:

tr_idruntr_oktr_skiptr_result
525378309948174FalseFalseFailed to run

Record count: 1

Log of 948174:

Unhandled trap: 0x21
pc: 000000000001016c  npc: 0000000000010170
%g0-3: 0000000000000000 00000000000fe4e0 0000000000000000 0000000000000000
%g4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
%o0-3: 0000000000000000 0000000040800f68 0000000040800f74 0000000014dde993 
%o4-7: 0000000000000001 0000000040800e78 0000000040800ee8 0000000000010150 
%l0-3: 00000000000e2000 0000000000000004 0000000000000000 0000000000000000 
%l4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
%i0-3: 00000000c008cccc 00000000cccccccd 00000000000c9d1c 00000000000fd6cc 
%i4-7: 000000004030a43b 0000000014dde993 0000000040800f90 000000000001040c 
pstate: 00000092 ccr: 44 (icc: -Z-- xcc: -Z--) asi: 82 tl: 0 pil: 0 gl: 0
tbr: 0000000000000000 hpstate: 0000000000000000 htba: 0000000000000000
cansave: 5 canrestore: 1 otherwin: 0 wstate: 0 cleanwin: 7 cwp: 1
fsr: 0000000009004030 y: 0000000000000000 fprs: 0000000000000001

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.