🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #931

MACOSX CODEWARRIOR8 and cosf, sinf, tanf, sqrtf, etc

#931
From: News Reader
Date: Thu, 10 Oct 2002 00:11
18 lines
1428 bytes
What must I do to be able to use cosf, sinf, tanf, etc in Codewarrior8
on MacOSX for a MacOSX target?  Am I missing a define somewhere?

I tried this:

test.cpp:
#include <cmath>
void test()
{
	cosf(0.32342f);
}


In the project settings, I have the standard  /usr/include path, the
MSL dir, and the MacOSX support dir.

It says it can't find cosf, but doing a search in MSL's cmath header
file, I see it there...
Technical Details
Message-ID: <s7h9qusl2tjo42e3egbblef5c8flaqjo28@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.telusplanet.net!news2.telusplanet.net.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,42d92dc96528dba3,start
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,42d92dc96528dba3,start
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2002-10-09 17:11:20 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.telusplanet.net!news2.telusplanet.net.POSTED!53ab2750!not-for-mail
From: News Reader <nntp@r.us>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: MACOSX CODEWARRIOR8 and cosf, sinf, tanf, sqrtf, etc  
Message-ID: <s7h9qusl2tjo42e3egbblef5c8flaqjo28@4ax.com>
X-Newsreader: Forte Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 21
Date: Thu, 10 Oct 2002 00:11:20 GMT
NNTP-Posting-Host: 209.53.254.166
X-Trace: news2.telusplanet.net 1034208680 209.53.254.166 (Wed, 09 Oct 2002 18:11:20 MDT)
NNTP-Posting-Date: Wed, 09 Oct 2002 18:11:20 MDT