Test suite results for test file test/tfpu2.pp

Test run data :

Run ID:
Operating system: linux
Processor: sparc64
Version: 3.3.1
Fails/OK/Total: 175/9036/9211
Version: 3.3.1
Full version: 3.3.1-15676-g9b1861a104
Comment: -XR/home/muller/sys-root/sparc64-linux -Xd -Xr/home/muller/sys-root/sparc64-linux
Machine: cfarm14
Category: 1
SVN revisions: 9b1861a104:d6cf3c98d0:e657d6a07d:485b31de21
Submitter: muller
Date: 2024/05/08 12:20:00 <> 2024/05/07
Previous run: 947438
Next run: 948805

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
525335029948167FalseFalseFailed to run

Record count: 1

Log of 948167:

Unhandled trap: 0x21
pc: 00000000001001f8  npc: 00000000001001fc
%g0-3: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
%g4-7: 0000000000000001 0000000000000000 0000000000000000 0000000000000000
%o0-3: 0000000000000000 0000004000800d00 0000004000800d18 0000000000000001 
%o4-7: 0000004000800c20 00000000000000ff 0000004000800401 00000000001001dc 
%l0-3: 00000000002d15b8 0000000000000004 0000000000000000 0000000000000000 
%l4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
%i0-3: 00000000002f7400 00000000002f79e0 00000000001c8f70 00000000002f79e0 
%i4-7: 0000000000000000 0000000000000000 0000004000800541 0000000000100498 
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.