Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / mathtrans / spsincos.c
blobc624cce296ec2f4fa39dadcb5833941d5da55f7f
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "mathtrans_intern.h"
8 /*
9 FUNCTION
10 Calculate the cosine and the sine of the given ffp-number
11 fnum1 that represents an angle in radians. The function
12 returns the sine of that number as a result and puts
13 the cosine of that number into *pfnum2 which must represent
14 a valid pointer to a ffp-number.
16 RESULT
17 *pfnum2 - Motorola fast floating point number
18 direct result - Motorola fast floating point number
20 NOTES
22 EXAMPLE
24 BUGS
26 SEE ALSO
28 INTERNALS
30 HISTORY
33 AROS_LH2(float, SPSincos,
34 AROS_LHA(IPTR *, pfnum2, D1),
35 AROS_LHA(float, fnum1, D0),
36 struct Library *, MathTransBase, 9, MathTrans
39 AROS_LIBFUNC_INIT
41 *pfnum2 = SPCos(fnum1);
42 return SPSin(fnum1);
44 AROS_LIBFUNC_EXIT