Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / mathieeesingtrans / ieeespsincos.c
blob4e7694b12e97a71519364eb45973ee20727ce78d
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "mathieeesingtrans_intern.h"
8 /*****************************************************************************
10 NAME */
12 AROS_LH2(float, IEEESPSincos,
14 /* SYNOPSIS */
15 AROS_LHA(float *, z, A0),
16 AROS_LHA(float, y, D0),
18 /* LOCATION */
19 struct Library *, MathIeeeSingTransBase, 9, MathIeeeSingTrans)
21 /* FUNCTION
22 Calculate the cosine and the sine of the given IEEE single
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 single precision number.
28 INPUTS
30 RESULT
31 *z - IEEE single precision floating point number
32 direct result - IEEE single precision floating point number
34 BUGS
36 INTERNALS
38 *****************************************************************************/
40 AROS_LIBFUNC_INIT
42 *z = IEEESPCos(y);
43 return IEEESPSin(y);
45 AROS_LIBFUNC_EXIT