Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / m68k / math-emu / fp_trig.c
blob6361d0784df2aa0ea00ccbdd3157630db7daf99e
1 /*
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
11 in all such copies.
13 THIS SOFTWARE IS PROVIDED "AS IS", WITH ABSOLUTELY NO WARRANTY, REAL
14 OR IMPLIED.
18 #include "fp_emu.h"
19 #include "fp_trig.h"
21 struct fp_ext *
22 fp_fsin(struct fp_ext *dest, struct fp_ext *src)
24 uprint("fsin\n");
26 fp_monadic_check(dest, src);
28 return dest;
31 struct fp_ext *
32 fp_fcos(struct fp_ext *dest, struct fp_ext *src)
34 uprint("fcos\n");
36 fp_monadic_check(dest, src);
38 return dest;
41 struct fp_ext *
42 fp_ftan(struct fp_ext *dest, struct fp_ext *src)
44 uprint("ftan\n");
46 fp_monadic_check(dest, src);
48 return dest;
51 struct fp_ext *
52 fp_fasin(struct fp_ext *dest, struct fp_ext *src)
54 uprint("fasin\n");
56 fp_monadic_check(dest, src);
58 return dest;
61 struct fp_ext *
62 fp_facos(struct fp_ext *dest, struct fp_ext *src)
64 uprint("facos\n");
66 fp_monadic_check(dest, src);
68 return dest;
71 struct fp_ext *
72 fp_fatan(struct fp_ext *dest, struct fp_ext *src)
74 uprint("fatan\n");
76 fp_monadic_check(dest, src);
78 return dest;
81 struct fp_ext *
82 fp_fsinh(struct fp_ext *dest, struct fp_ext *src)
84 uprint("fsinh\n");
86 fp_monadic_check(dest, src);
88 return dest;
91 struct fp_ext *
92 fp_fcosh(struct fp_ext *dest, struct fp_ext *src)
94 uprint("fcosh\n");
96 fp_monadic_check(dest, src);
98 return dest;
101 struct fp_ext *
102 fp_ftanh(struct fp_ext *dest, struct fp_ext *src)
104 uprint("ftanh\n");
106 fp_monadic_check(dest, src);
108 return dest;
111 struct fp_ext *
112 fp_fatanh(struct fp_ext *dest, struct fp_ext *src)
114 uprint("fatanh\n");
116 fp_monadic_check(dest, src);
118 return dest;
121 struct fp_ext *
122 fp_fsincos0(struct fp_ext *dest, struct fp_ext *src)
124 uprint("fsincos0\n");
126 return dest;
129 struct fp_ext *
130 fp_fsincos1(struct fp_ext *dest, struct fp_ext *src)
132 uprint("fsincos1\n");
134 return dest;
137 struct fp_ext *
138 fp_fsincos2(struct fp_ext *dest, struct fp_ext *src)
140 uprint("fsincos2\n");
142 return dest;
145 struct fp_ext *
146 fp_fsincos3(struct fp_ext *dest, struct fp_ext *src)
148 uprint("fsincos3\n");
150 return dest;
153 struct fp_ext *
154 fp_fsincos4(struct fp_ext *dest, struct fp_ext *src)
156 uprint("fsincos4\n");
158 return dest;
161 struct fp_ext *
162 fp_fsincos5(struct fp_ext *dest, struct fp_ext *src)
164 uprint("fsincos5\n");
166 return dest;
169 struct fp_ext *
170 fp_fsincos6(struct fp_ext *dest, struct fp_ext *src)
172 uprint("fsincos6\n");
174 return dest;
177 struct fp_ext *
178 fp_fsincos7(struct fp_ext *dest, struct fp_ext *src)
180 uprint("fsincos7\n");
182 return dest;