3 fp_log.h: 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
23 /* floating point logarithmic instructions:
25 the arguments to these are in the "internal" extended format, that
26 is, an "exploded" version of the 96-bit extended fp format used by
29 they return a status code, which should end up in %d0, if all goes
32 struct fp_ext
*fp_fsqrt(struct fp_ext
*dest
, struct fp_ext
*src
);
33 struct fp_ext
*fp_fetoxm1(struct fp_ext
*dest
, struct fp_ext
*src
);
34 struct fp_ext
*fp_fetox(struct fp_ext
*dest
, struct fp_ext
*src
);
35 struct fp_ext
*fp_ftwotox(struct fp_ext
*dest
, struct fp_ext
*src
);
36 struct fp_ext
*fp_ftentox(struct fp_ext
*dest
, struct fp_ext
*src
);
37 struct fp_ext
*fp_flogn(struct fp_ext
*dest
, struct fp_ext
*src
);
38 struct fp_ext
*fp_flognp1(struct fp_ext
*dest
, struct fp_ext
*src
);
39 struct fp_ext
*fp_flog10(struct fp_ext
*dest
, struct fp_ext
*src
);
40 struct fp_ext
*fp_flog2(struct fp_ext
*dest
, struct fp_ext
*src
);
41 struct fp_ext
*fp_fgetexp(struct fp_ext
*dest
, struct fp_ext
*src
);
42 struct fp_ext
*fp_fgetman(struct fp_ext
*dest
, struct fp_ext
*src
);
44 #endif /* _FP_LOG_H */