New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / workbench / libs / mathieeedoubtrans / ieeedpsincos.c
blob97bdedb48b204e5a376766cebb0faff2ac3accba
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "mathieeedoubtrans_intern.h"
8 /*
9 FUNCTION
10 Calculate the cosine and the sine of the given IEEE double
11 precision number where y represents an angle in radians. The
12 function returns the sine of that number as a result and puts
13 the cosine of that number into *z which must represent
14 a valid pointer to a IEEE double precision number.
16 RESULT
17 *z - IEEE double precision floating point number
18 direct result - IEEE double precision floating point number
20 NOTES
22 EXAMPLE
24 BUGS
26 SEE ALSO
28 INTERNALS
30 HISTORY
33 AROS_LH2(double, IEEEDPSincos,
34 AROS_LHA(double *, z, A0),
35 AROS_LHA(double, y, D0),
36 struct MathIeeeDoubTransBase *, MathIeeeDoubTransBase, 9, MathIeeeDoubTrans
39 AROS_LIBFUNC_INIT
41 *z = IEEEDPCos(y);
42 return IEEEDPSin(y);
44 AROS_LIBFUNC_EXIT