https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27452
Thomas Henlich changed:
What|Removed |Added
CC||thenlich at gcc dot gnu.org
--- Comment #12 from ruben at tapir dot caltech dot edu 2009-05-05 09:36
---
(In reply to comment #10)
These functions will *not* be implemented, period.
And even if they would be implemented, they'd internally just return
sin(arg*180/pi) co. The compiler and the runtime library
--- Comment #8 from ruben at tapir dot caltech dot edu 2009-04-30 07:33
---
In my considered opinion, the need to support these functions has little to do
with efficiency or with convenience. It has more to do with accuracy and
symmetries; relations such as sind(30)=0.5, cosd(90)=0.0,
--- Comment #9 from ruben at tapir dot caltech dot edu 2009-04-30 07:38
---
Someone suggested multiplying or dividing the argument by a factor.
That does not do - the floating point precision achieved would be insufficient.
Someone complains about the names of these functions. I
--- Comment #10 from steven at gcc dot gnu dot org 2009-04-30 07:51 ---
These functions will *not* be implemented, period.
And even if they would be implemented, they'd internally just return
sin(arg*180/pi) co. The compiler and the runtime library don't actually
calculate sin/cos
--- Comment #11 from sgk at troutmask dot apl dot washington dot edu
2009-04-30 16:09 ---
Subject: Re: gfortran support for non-standard sind,cosd and friends
intrinsics
On Thu, Apr 30, 2009 at 07:38:31AM -, ruben at tapir dot caltech dot edu
wrote:
--- Comment #9 from
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-05-29 22:25 ---
Also note when I see d, I think double and not degrees when it comes to
intrinsics.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27452
--- Comment #1 from kargl at gcc dot gnu dot org 2006-05-06 06:14 ---
Why?
Is it that difficult to write a module
to provide sind and friends?
--
kargl at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-06 06:22 ---
In fact it is easy to divide by 90° and multiply by pi.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- 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
--- 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 -, deji_aking at yahoo dot ca wrote:
--- Comment #3 from deji_aking
--- 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
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-05-06 16:29 ---
I should note that sind sounds to me sin taking a double precision agrument at
least when I read the summary and not the first comment.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27452
13 matches
Mail list logo