Stretchwickster
Programmer
Hi,
I'm quite new to Delphi and I want to use the SinCos procedure to derive 2 values from the same angle instead of using the separate Sin and Cos functions. However, SinCos only seems to accept variables of "Extended" type whereas the Sin and Cos functions can accept "Doubles" as well as "Extended".
Is there any easy way to use "Doubles" with the SinCos procedure?
Your help would be much appreciated!
I'm quite new to Delphi and I want to use the SinCos procedure to derive 2 values from the same angle instead of using the separate Sin and Cos functions. However, SinCos only seems to accept variables of "Extended" type whereas the Sin and Cos functions can accept "Doubles" as well as "Extended".
Is there any easy way to use "Doubles" with the SinCos procedure?
Your help would be much appreciated!