[Bug fortran/27452] gfortran support for non-standard sind,cosd and friends intrinsics
deji_aking at yahoo dot ca
gcc-bugzilla@gcc.gnu.org
Sat May 6 16:24:00 GMT 2006
------- Comment #5 from deji_aking at yahoo dot ca 2006-05-06 16:24 -------
(In reply to comment #4)
>
> Which is faster? Multiplying and dividing by a literal constant
> directly in your code or a function call to do the trivial work.
>
Really, I don't know enough about compiler technology to ba able to tell.
Having had to deal with an empirical formulas made of a bunch of trig.
functions (in degrees), i found it much convenient to just use sin_d(angle)
instead of multiplying and diving by literal constants in each and all terms.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27452
More information about the Gcc-bugs
mailing list