added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / libs / mathieeedoubbas / ieeedpdiv.c
blobe81ce6dd2047ae5b556e90de74c24c85101b0e9c
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "mathieeedoubbas_intern.h"
8 /*
9 FUNCTION
10 Divides two IEEE double precision numbers
12 RESULT
13 <code>
14 +1 : y > z
15 0 : y = z
16 -1 : y < z
18 Flags:
19 zero : y = z
20 negative : y < z
21 overflow : 0
22 </code>
24 NOTES
26 EXAMPLE
28 BUGS
30 SEE ALSO
32 INTERNALS
34 HISTORY
35 */
37 AROS_LHQUAD2(double, IEEEDPDiv,
38 AROS_LHAQUAD(double, y, D0, D1),
39 AROS_LHAQUAD(double, z, D2, D3),
40 struct MathIeeeDoubBasBase *, MathIeeeDoubBasBase, 14, MathIeeeDoubBas
43 AROS_LIBFUNC_INIT
45 #if 0
46 QUAD * Qy = (QUAD *)&y;
47 QUAD * Qz = (QUAD *)&z;
48 #endif
50 QUAD Res = 0x0badc0de0badc0deULL;
51 return *(double *)&Res;
53 AROS_LIBFUNC_EXIT