1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun 3*4882a593Smuzhiyun fp_trig.h: floating-point math routines for the Linux-m68k 4*4882a593Smuzhiyun floating point emulator. 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun Copyright (c) 1998 David Huggins-Daines. 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun I hereby give permission, free of charge, to copy, modify, and 9*4882a593Smuzhiyun redistribute this software, in source or binary form, provided that 10*4882a593Smuzhiyun the above copyright notice and the following disclaimer are included 11*4882a593Smuzhiyun in all such copies. 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun THIS SOFTWARE IS PROVIDED "AS IS", WITH ABSOLUTELY NO WARRANTY, REAL 14*4882a593Smuzhiyun OR IMPLIED. 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun */ 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun #ifndef FP_TRIG_H 19*4882a593Smuzhiyun #define FP_TRIG_H 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun #include "fp_emu.h" 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun /* floating point trigonometric instructions: 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun the arguments to these are in the "internal" extended format, that 26*4882a593Smuzhiyun is, an "exploded" version of the 96-bit extended fp format used by 27*4882a593Smuzhiyun the 68881. 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun they return a status code, which should end up in %d0, if all goes 30*4882a593Smuzhiyun well. */ 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun #endif /* FP_TRIG__H */ 33