2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
6 #include "mathtrans_intern.h"
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.
17 *pfnum2 - Motorola fast floating point number
18 direct result - Motorola fast floating point number
33 AROS_LH2(float, SPSincos
,
34 AROS_LHA(IPTR
*, pfnum2
, D1
),
35 AROS_LHA(float, fnum1
, D0
),
36 struct Library
*, MathTransBase
, 9, MathTrans
41 *pfnum2
= SPCos(fnum1
);