Small modification to diskinfo and info tool layout
[AROS.git] / rom / mathieeesingbas / ieeespsub.c
blobeb916c409a45da7224fa80195533d076f4edabf4
1 /*
2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "mathieeesingbas_intern.h"
8 /*
9 FUNCTION
10 Subtract two ieeesp numbers
11 x = y-z;
13 RESULT
15 Flags:
16 zero : result is zero
17 negative : result is negative
18 overflow : result is out of range
20 NOTES
22 EXAMPLE
24 BUGS
26 SEE ALSO
29 INTERNALS
30 ALGORITHM:
31 x = y - z = y + (-z).
33 HISTORY
36 AROS_LH2(float, IEEESPSub,
37 AROS_LHA(float, y, D0),
38 AROS_LHA(float, z, D1),
39 struct LibHeader *, MathIeeeSingBasBase, 12, Mathieeesingbas
42 AROS_LIBFUNC_INIT
44 return IEEESPAdd(y, z ^ IEEESPSign_Mask);
46 AROS_LIBFUNC_EXIT