Re: sinf(), cosf() et al
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.