3 fp_trig.c: floating-point math routines for the Linux-m68k
4 floating point emulator.
6 Copyright (c) 1998-1999 David Huggins-Daines / Roman Zippel.
8 I hereby give permission, free of charge, to copy, modify, and
9 redistribute this software, in source or binary form, provided that
10 the above copyright notice and the following disclaimer are included
13 THIS SOFTWARE IS PROVIDED "AS IS", WITH ABSOLUTELY NO WARRANTY, REAL
22 fp_fsin(struct fp_ext
*dest
, struct fp_ext
*src
)
26 fp_monadic_check(dest
, src
);
32 fp_fcos(struct fp_ext
*dest
, struct fp_ext
*src
)
36 fp_monadic_check(dest
, src
);
42 fp_ftan(struct fp_ext
*dest
, struct fp_ext
*src
)
46 fp_monadic_check(dest
, src
);
52 fp_fasin(struct fp_ext
*dest
, struct fp_ext
*src
)
56 fp_monadic_check(dest
, src
);
62 fp_facos(struct fp_ext
*dest
, struct fp_ext
*src
)
66 fp_monadic_check(dest
, src
);
72 fp_fatan(struct fp_ext
*dest
, struct fp_ext
*src
)
76 fp_monadic_check(dest
, src
);
82 fp_fsinh(struct fp_ext
*dest
, struct fp_ext
*src
)
86 fp_monadic_check(dest
, src
);
92 fp_fcosh(struct fp_ext
*dest
, struct fp_ext
*src
)
96 fp_monadic_check(dest
, src
);
102 fp_ftanh(struct fp_ext
*dest
, struct fp_ext
*src
)
106 fp_monadic_check(dest
, src
);
112 fp_fatanh(struct fp_ext
*dest
, struct fp_ext
*src
)
116 fp_monadic_check(dest
, src
);
122 fp_fsincos0(struct fp_ext
*dest
, struct fp_ext
*src
)
124 uprint("fsincos0\n");
130 fp_fsincos1(struct fp_ext
*dest
, struct fp_ext
*src
)
132 uprint("fsincos1\n");
138 fp_fsincos2(struct fp_ext
*dest
, struct fp_ext
*src
)
140 uprint("fsincos2\n");
146 fp_fsincos3(struct fp_ext
*dest
, struct fp_ext
*src
)
148 uprint("fsincos3\n");
154 fp_fsincos4(struct fp_ext
*dest
, struct fp_ext
*src
)
156 uprint("fsincos4\n");
162 fp_fsincos5(struct fp_ext
*dest
, struct fp_ext
*src
)
164 uprint("fsincos5\n");
170 fp_fsincos6(struct fp_ext
*dest
, struct fp_ext
*src
)
172 uprint("fsincos6\n");
178 fp_fsincos7(struct fp_ext
*dest
, struct fp_ext
*src
)
180 uprint("fsincos7\n");