Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Precision of Trig Functions

mattsdad
Beginner
382 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
382 Views
Since f77, sin() is a generic which the compiler automatically changes to the type of the argument, unless declared EXTERNAL.
0 Kudos
Reply