On Feb 26, 2007, at 7:39 AM, rhoddy mair wrote:
> Does anybody know how to use or apply complex numbers in sdcc?

   I can't think of any reason offhand why one wouldn't do it the  
same way as one would with any other C compiler.  In the past (though  
admittedly not with SDCC) I've simply used a struct containing floats  
or doubles for both the real and imaginary components, and functions  
that take them as parameters for manipulation.  All that should be  
fine with SDCC.

           -Dave

-- 
Dave McGuire
Port Charlotte, FL



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to