• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sinf(), cosf() et al
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sinf(), cosf() et al


  • Subject: Re: sinf(), cosf() et al
  • From: Chris Ridd <email@hidden>
  • Date: Tue, 22 Oct 2002 12:01:07 +0100

On 22/10/02 11:41 am, Philippe C.D. Robert <email@hidden> wrote:

> Hi,
>
> I have troubles using sinf(), cosf() on Jaguar, although I include
> <math.h>. I get:

Grepping /usr/include only finds cosf in one place:

/usr/include/architecture/i386/math.h

> G3DTrigonometry.m:81: warning: implicit declaration of function `cosf'
> G3DTrigonometry.m:92: warning: implicit declaration of function `sinf'
> ...
> ld: warning prebinding disabled because of undefined symbols
> ld: Undefined symbols:
> _cosf
> _sinf
> /usr/bin/libtool: internal link edit command failed
>
> What header is required, what framework do I have to add to the project
> in addition?

I suspect it doesn't exist.

Is there any difference on PPC between using double and float, ie cos and
cosf?

> -Phil

Cheers,

Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >sinf(), cosf() et al (From: "Philippe C.D. Robert" <email@hidden>)

  • Prev by Date: Cell alignment within a NSTableColumn
  • Next by Date: Re: sinf(), cosf() et al
  • Previous by thread: sinf(), cosf() et al
  • Next by thread: Re: sinf(), cosf() et al
  • Index(es):
    • Date
    • Thread