2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
6 #include "mathffp_intern.h"
10 Subtract two floating point numbers
18 negative : result is negative
19 overflow : result is out of range
32 fnum = fnum2 + (-fnum1).
37 AROS_LH2(float, SPSub
,
38 AROS_LHA(float, fnum1
, D0
),
39 AROS_LHA(float, fnum2
, D1
),
40 struct LibHeader
*, MathBase
, 12, Mathffp
45 ULONG r
= SPAdd(fnum2
, fnum1
^ FFPSign_Mask
);
46 kprintf("%x - %x = %x\n",fnum2
,fnum1
,r
);