Maarten Brock wrote: > If you ask me SDCC will never support complex numbers. > It doesn't even support double floats. SDCC is meant for > SMALL devices. > > Maarten
C99 has complex numbers with both single and double precision. Support for single precision complex numbers could be built on top of float support. Complex numbers are often useful for representing points / vectors in a plane. I'm currently writing a game for a Z80-based device where this would be useful; representing points by comples numbers is used in simple (outline-based) pattern recognition tasks, too, which some might want to do on embedded devices. Philipp ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user