Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Precision of Trig Functions

mattsdad
Beginner
537 Views
When using SIN(x) will the result be of the same type as the argument, or does DSIN(x) need to be used to get a double precision result?
0 Kudos
1 Reply
TimP
Honored Contributor III
537 Views
Since f77, sin() is a generic which the compiler automatically changes to the type of the argument, unless declared EXTERNAL.
0 Kudos
Reply