Path: chuka.playstation.co.uk!news From: Alex Herbert Newsgroups: scee.yaroze.programming.codewarrior Subject: Re: No FP emulation in CW? Date: Sat, 11 Apr 1998 00:46:02 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 29 Message-ID: <352EAF3A.F2ACABCA@ndirect.co.uk> References: <352e1377.6814288@www.netyaroze-europe.com> Reply-To: aherbert@ndirect.co.uk NNTP-Posting-Host: 195.7.226.101 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (Win95; I) To: David Wagner I found some fixed point sin/cos functions and lookup tables in one of the folders in CW, but I can't remember where. Look for sin.h and sin.c and you should find them. Alex David Wagner wrote: > Hmm... Reading through this newgroup I _finally_ figured out why I > can't get sin or anything to work. No FP emulation in CodeWarrior. > Bugger. > > Is there any reason for this particualr ommision from the Yaroze > version of CodeWarrior? The FP emulation library seems to be present > in the library folder (Math-ISA1-noFPU-LE.lib), so is there any way of > persuading the linker to look at this library when generating code? > > OK, I admit I should use look up tables but I was just messing around > and could not be bothered to generate them. > > So, is there any way to get FP support in CodeWarrior or should I just > use the GNU compiler until I get round to putting look up tables in my > code? > > Dave