public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Sources of mathematical functions
@ 2007-06-15 10:55 Архипов Дмитрий
  2007-06-15 11:42 ` Mihai Donțu
  2007-06-15 12:03 ` Andrew Haley
  0 siblings, 2 replies; 3+ messages in thread
From: Архипов Дмитрий @ 2007-06-15 10:55 UTC (permalink / raw)
  To: gcc-help

I was trying to find where the trigonometric functions BODIES are and couldn't found anything.
In the file builtin.c  there are many references to the functions, but not the bodies.
Could you help me, please. Thank you very much.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Sources of mathematical functions
  2007-06-15 10:55 Sources of mathematical functions Архипов Дмитрий
@ 2007-06-15 11:42 ` Mihai Donțu
  2007-06-15 12:03 ` Andrew Haley
  1 sibling, 0 replies; 3+ messages in thread
From: Mihai Donțu @ 2007-06-15 11:42 UTC (permalink / raw)
  To: gcc-help

On Friday 15 June 2007 13:16, Архипов Дмитрий wrote:
> I was trying to find where the trigonometric functions BODIES are and couldn't found anything.
> In the file builtin.c  there are many references to the functions, but not the bodies.
> Could you help me, please. Thank you very much.

  I don't know if gcc has builtin versions of them, but I did found some [assembler] bodies in
GLIBC (eg: sysdeps/x86_64/fpu/s_cosl.S). Could these be them?

-- 
Mihai Donțu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Sources of mathematical functions
  2007-06-15 10:55 Sources of mathematical functions Архипов Дмитрий
  2007-06-15 11:42 ` Mihai Donțu
@ 2007-06-15 12:03 ` Andrew Haley
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Haley @ 2007-06-15 12:03 UTC (permalink / raw)
  To: Архипов
	Дмитрий
  Cc: gcc-help

??????? ??????? writes:

 > I was trying to find where the trigonometric functions BODIES are
 > and couldn't found anything.  In the file builtin.c there are many
 > references to the functions, but not the bodies.

They seem to me to be there.  Look at expand_builtin_pow(), for
example.  

But only the mathematical functions that are gcc builtins are handled
in builtins.c: other functions that are library calls are part of
libc, the GNU version of which is at http://www.gnu.org/software/libc/

Andrew.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-15 10:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-15 10:55 Sources of mathematical functions Архипов Дмитрий
2007-06-15 11:42 ` Mihai Donțu
2007-06-15 12:03 ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).