grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / mathieeedoubtrans / ieeedpsincos.c
blobbb3885b08f19fae918f89fab4ff51250a8487ac6
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "mathieeedoubtrans_intern.h"
8 /*****************************************************************************
10 NAME */
12 AROS_LH1QUAD1(double, IEEEDPSincos,
14 /* SYNOPSIS */
15 AROS_LHA(double *, z, A0),
16 AROS_LHAQUAD(double, y, D0, D1),
18 /* LOCATION */
19 struct MathIeeeDoubTransBase *, MathIeeeDoubTransBase, 9, MathIeeeDoubTrans)
21 /* FUNCTION
22 Calculate the cosine and the sine of the given IEEE double
23 precision number where y represents an angle in radians. The
24 function returns the sine of that number as a result and puts
25 the cosine of that number into *z which must represent
26 a valid pointer to a IEEE double precision number.
28 INPUTS
30 RESULT
31 *z - IEEE double precision floating point number
32 direct result - IEEE double precision floating point number
34 BUGS
36 INTERNALS
38 *****************************************************************************/
40 AROS_LIBFUNC_INIT
42 *z = IEEEDPCos(y);
43 return IEEEDPSin(y);
45 AROS_LIBFUNC_EXIT