[Bug fortran/27452] gfortran support for non-standard sind,cosd and friends intrinsics
sgk at troutmask dot apl dot washington dot edu
gcc-bugzilla@gcc.gnu.org
Sat May 6 13:38:00 GMT 2006
------- Comment #4 from sgk at troutmask dot apl dot washington dot edu 2006-05-06 13:38 -------
Subject: Re: gfortran support for non-standard sind,cosd and friends
intrinsics
On Sat, May 06, 2006 at 06:32:01AM -0000, deji_aking at yahoo dot ca wrote:
>
>
> ------- Comment #3 from deji_aking at yahoo dot ca 2006-05-06 06:32 -------
> (In reply to comment #2)
> > In fact it is easy to divide by 90° and multiply by pi.
> >
> You just proved my point, one would want to divide by 180 and multiply by pi
> ;).
> Having sind and co safeguard against such silly mistake.
> fair enough, i'll continue using my self-made functions.
>
Which is faster? Multiplying and dividing by a literal constant
directly in your code or a function call to do the trivial work.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27452
More information about the Gcc-bugs
mailing list