My complier is Intel Fortran Compiler 11.0.3451.2005. IDE is Microsoft Visual Studio 2005.
When I use
WRITE(*,*) DSIN(0.8)
There will be a link error, seems there’s no such function.
Why? How to fix it?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
dsinwould expect a double precision argument.sin(0.8d0)anddsin(0.8d0)are identical.Just use
sinand let the machine figure which version of the sine function to use, based on the actual type of the argument.