Path: chuka.playstation.co.uk!news From: "John \( QuietBloke \)" Newsgroups: scee.yaroze.freetalk.english Subject: Re: floating points Date: Sun, 11 Mar 2001 23:28:22 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 52 Message-ID: <98h1ht$7i6@www.netyaroze-europe.com> References: <98gt47$7i5@www.netyaroze-europe.com> NNTP-Posting-Host: host213-1-111-30.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Juts had a quick look in the book and the only thing I can find is : Have you got MATH-ISA1-noFPU-LE.lib included in your project ? long and floating point operations need to use this library Cheers John ( Quietbloke ) "Nigel Critten" wrote in message news:98gt47$7i5@www.netyaroze-europe.com... > Well I got a little bit adventurous tonight a wrote a routine that spins > sprites round in circles using the sin / cos function, I know it works > because I've just dropped it into my DirectX engine and no problems, but it > won't compile on the Yaroze, now I know why . > > double Q=0.01 > > QPos-=0.2250004 > Q+=+0.225; > > HSX=co0s(Q)*RX; > HSY=sin(Q)*RY; > > these are all using floating point stuff which I know is emulated on the > playstation (or at least thats what the Yaroze documents say) but it won't > link. > > I've included the "libps.h" but I get link errors link > > Link Error : undefined: '_d_itod' > Referenced from 'high_score' in Title_Gover.c > > Link Error : undefined: '_d_dtoi' > Referenced from 'high_score' in Title_Gover.c > > Link Error : Link failed. > > help... BTW I've turned on Floating Point CodeGen in CodeWarrior, but with > it on or off it makes no difference > > Cheers > Nigel (keeping up the flow of traffic) > > >