1 /* 1 2 3 fp_trig.h: floating-point math routines for 4 floating point emulator. 5 6 Copyright (c) 1998 David Huggins-Daines. 7 8 I hereby give permission, free of charge, to 9 redistribute this software, in source or bin 10 the above copyright notice and the following 11 in all such copies. 12 13 THIS SOFTWARE IS PROVIDED "AS IS", WITH ABSO 14 OR IMPLIED. 15 16 */ 17 18 #ifndef _FP_TRIG_H 19 #define _FP_TRIG_H 20 21 #include "fp_emu.h" 22 23 /* floating point trigonometric instructions: 24 25 the arguments to these are in the "internal 26 is, an "exploded" version of the 96-bit ext 27 the 68881. 28 29 they return a status code, which should end 30 well. */ 31 32 struct fp_ext *fp_fsin(struct fp_ext *dest, st 33 struct fp_ext *fp_fcos(struct fp_ext *dest, st 34 struct fp_ext *fp_ftan(struct fp_ext *dest, st 35 struct fp_ext *fp_fasin(struct fp_ext *dest, s 36 struct fp_ext *fp_facos(struct fp_ext *dest, s 37 struct fp_ext *fp_fatan(struct fp_ext *dest, s 38 struct fp_ext *fp_fsinh(struct fp_ext *dest, s 39 struct fp_ext *fp_fcosh(struct fp_ext *dest, s 40 struct fp_ext *fp_ftanh(struct fp_ext *dest, s 41 struct fp_ext *fp_fatanh(struct fp_ext *dest, 42 struct fp_ext *fp_fsincos0(struct fp_ext *dest 43 struct fp_ext *fp_fsincos1(struct fp_ext *dest 44 struct fp_ext *fp_fsincos2(struct fp_ext *dest 45 struct fp_ext *fp_fsincos3(struct fp_ext *dest 46 struct fp_ext *fp_fsincos4(struct fp_ext *dest 47 struct fp_ext *fp_fsincos5(struct fp_ext *dest 48 struct fp_ext *fp_fsincos6(struct fp_ext *dest 49 struct fp_ext *fp_fsincos7(struct fp_ext *dest 50 51 #endif /* _FP_TRIG_H */ 52
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.