Path: chuka.playstation.co.uk!scea!hunt From: hunt@metrowerks.com (Eric Hunt) Newsgroups: scea.yaroze.programming.codewarrior Subject: Re: dfp2unsigned Date: Thu, 22 May 1997 15:00:11 -0500 Organization: Metrowerks Corporation Lines: 29 Message-ID: References: <01bc64b9$26b429c0$0fb6e9cd@JULIE.sie.qc.ca> NNTP-Posting-Host: hunt.metrowerks.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Yet Another NewsWatcher 2.4.0 In article <01bc64b9$26b429c0$0fb6e9cd@JULIE.sie.qc.ca>, "dr Z" wrote: > Link failed : undefined '__cvt_dfp2unsigned' > > Am I missing something? Metrowerks' tools currently do not support the emulation of floating point operations in integer registers. Thus int foo () { float bar=5.34; bar=bar/5; return (int) bar; } is not supported. You need to do this in integer math. We will have a library that supports this in about two months. Let us know if you have any additional questions. Thanks, Eric Hunt Metrowerks Playstation Tech Support