1 /*
2 
3   fp_trig.c: floating-point math routines for the Linux-m68k
4   floating point emulator.
5 
6   Copyright (c) 1998-1999 David Huggins-Daines / Roman Zippel.
7 
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.
12 
13   THIS SOFTWARE IS PROVIDED "AS IS", WITH ABSOLUTELY NO WARRANTY, REAL
14   OR IMPLIED.
15 
16 */
17 
18 #include "fp_emu.h"
19 #include "fp_trig.h"
20 
fp_fsin(struct fp_ext * dest,struct fp_ext * src)21 struct fp_ext *fp_fsin(struct fp_ext *dest, struct fp_ext *src)
22 {
23 	uprint("fsin\n");
24 
25 	fp_monadic_check(dest, src);
26 
27 	return dest;
28 }
29 
fp_fcos(struct fp_ext * dest,struct fp_ext * src)30 struct fp_ext *fp_fcos(struct fp_ext *dest, struct fp_ext *src)
31 {
32 	uprint("fcos\n");
33 
34 	fp_monadic_check(dest, src);
35 
36 	return dest;
37 }
38 
fp_ftan(struct fp_ext * dest,struct fp_ext * src)39 struct fp_ext *fp_ftan(struct fp_ext *dest, struct fp_ext *src)
40 {
41 	uprint("ftan\n");
42 
43 	fp_monadic_check(dest, src);
44 
45 	return dest;
46 }
47 
fp_fasin(struct fp_ext * dest,struct fp_ext * src)48 struct fp_ext *fp_fasin(struct fp_ext *dest, struct fp_ext *src)
49 {
50 	uprint("fasin\n");
51 
52 	fp_monadic_check(dest, src);
53 
54 	return dest;
55 }
56 
fp_facos(struct fp_ext * dest,struct fp_ext * src)57 struct fp_ext *fp_facos(struct fp_ext *dest, struct fp_ext *src)
58 {
59 	uprint("facos\n");
60 
61 	fp_monadic_check(dest, src);
62 
63 	return dest;
64 }
65 
fp_fatan(struct fp_ext * dest,struct fp_ext * src)66 struct fp_ext *fp_fatan(struct fp_ext *dest, struct fp_ext *src)
67 {
68 	uprint("fatan\n");
69 
70 	fp_monadic_check(dest, src);
71 
72 	return dest;
73 }
74 
fp_fsinh(struct fp_ext * dest,struct fp_ext * src)75 struct fp_ext *fp_fsinh(struct fp_ext *dest, struct fp_ext *src)
76 {
77 	uprint("fsinh\n");
78 
79 	fp_monadic_check(dest, src);
80 
81 	return dest;
82 }
83 
fp_fcosh(struct fp_ext * dest,struct fp_ext * src)84 struct fp_ext *fp_fcosh(struct fp_ext *dest, struct fp_ext *src)
85 {
86 	uprint("fcosh\n");
87 
88 	fp_monadic_check(dest, src);
89 
90 	return dest;
91 }
92 
fp_ftanh(struct fp_ext * dest,struct fp_ext * src)93 struct fp_ext *fp_ftanh(struct fp_ext *dest, struct fp_ext *src)
94 {
95 	uprint("ftanh\n");
96 
97 	fp_monadic_check(dest, src);
98 
99 	return dest;
100 }
101 
fp_fatanh(struct fp_ext * dest,struct fp_ext * src)102 struct fp_ext *fp_fatanh(struct fp_ext *dest, struct fp_ext *src)
103 {
104 	uprint("fatanh\n");
105 
106 	fp_monadic_check(dest, src);
107 
108 	return dest;
109 }
110 
fp_fsincos0(struct fp_ext * dest,struct fp_ext * src)111 struct fp_ext *fp_fsincos0(struct fp_ext *dest, struct fp_ext *src)
112 {
113 	uprint("fsincos0\n");
114 
115 	return dest;
116 }
117 
fp_fsincos1(struct fp_ext * dest,struct fp_ext * src)118 struct fp_ext *fp_fsincos1(struct fp_ext *dest, struct fp_ext *src)
119 {
120 	uprint("fsincos1\n");
121 
122 	return dest;
123 }
124 
fp_fsincos2(struct fp_ext * dest,struct fp_ext * src)125 struct fp_ext *fp_fsincos2(struct fp_ext *dest, struct fp_ext *src)
126 {
127 	uprint("fsincos2\n");
128 
129 	return dest;
130 }
131 
fp_fsincos3(struct fp_ext * dest,struct fp_ext * src)132 struct fp_ext *fp_fsincos3(struct fp_ext *dest, struct fp_ext *src)
133 {
134 	uprint("fsincos3\n");
135 
136 	return dest;
137 }
138 
fp_fsincos4(struct fp_ext * dest,struct fp_ext * src)139 struct fp_ext *fp_fsincos4(struct fp_ext *dest, struct fp_ext *src)
140 {
141 	uprint("fsincos4\n");
142 
143 	return dest;
144 }
145 
fp_fsincos5(struct fp_ext * dest,struct fp_ext * src)146 struct fp_ext *fp_fsincos5(struct fp_ext *dest, struct fp_ext *src)
147 {
148 	uprint("fsincos5\n");
149 
150 	return dest;
151 }
152 
fp_fsincos6(struct fp_ext * dest,struct fp_ext * src)153 struct fp_ext *fp_fsincos6(struct fp_ext *dest, struct fp_ext *src)
154 {
155 	uprint("fsincos6\n");
156 
157 	return dest;
158 }
159 
fp_fsincos7(struct fp_ext * dest,struct fp_ext * src)160 struct fp_ext *fp_fsincos7(struct fp_ext *dest, struct fp_ext *src)
161 {
162 	uprint("fsincos7\n");
163 
164 	return dest;
165 }
166