/*12fp_log.h: floating-point math routines for the Linux-m68k3floating point emulator.45Copyright (c) 1998-1999 David Huggins-Daines / Roman Zippel.67I hereby give permission, free of charge, to copy, modify, and8redistribute this software, in source or binary form, provided that9the above copyright notice and the following disclaimer are included10in all such copies.1112THIS SOFTWARE IS PROVIDED "AS IS", WITH ABSOLUTELY NO WARRANTY, REAL13OR IMPLIED.1415*/1617#ifndef _FP_LOG_H18#define _FP_LOG_H1920#include "fp_emu.h"2122/* floating point logarithmic instructions:2324the arguments to these are in the "internal" extended format, that25is, an "exploded" version of the 96-bit extended fp format used by26the 68881.2728they return a status code, which should end up in %d0, if all goes29well. */3031struct fp_ext *fp_fsqrt(struct fp_ext *dest, struct fp_ext *src);32struct fp_ext *fp_fetoxm1(struct fp_ext *dest, struct fp_ext *src);33struct fp_ext *fp_fetox(struct fp_ext *dest, struct fp_ext *src);34struct fp_ext *fp_ftwotox(struct fp_ext *dest, struct fp_ext *src);35struct fp_ext *fp_ftentox(struct fp_ext *dest, struct fp_ext *src);36struct fp_ext *fp_flogn(struct fp_ext *dest, struct fp_ext *src);37struct fp_ext *fp_flognp1(struct fp_ext *dest, struct fp_ext *src);38struct fp_ext *fp_flog10(struct fp_ext *dest, struct fp_ext *src);39struct fp_ext *fp_flog2(struct fp_ext *dest, struct fp_ext *src);40struct fp_ext *fp_fgetexp(struct fp_ext *dest, struct fp_ext *src);41struct fp_ext *fp_fgetman(struct fp_ext *dest, struct fp_ext *src);4243#endif /* _FP_LOG_H */444546