Path: chuka.playstation.co.uk!news From: "Nigel Critten" Newsgroups: scee.yaroze.freetalk.english Subject: floating points Date: Sun, 11 Mar 2001 22:07:55 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 35 Message-ID: <98gt47$7i5@www.netyaroze-europe.com> NNTP-Posting-Host: host213-122-26-70.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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)