From: Sandeep D. <sa...@dd...> - 2001-02-22 22:08:59
|
long mul (int a, int b) { return a*b; } This will be harder to implement, since int*int is done by library routine, and the higher order 16bits are not computed, I would suggest leaving this the way it is now, if the user wants int*int = long then he/she would have to put a cast around one the ints ie. ((long)int)*int = long. As a side effect __muluint might call itself recursively (I think someone else pointed this out already) Sandeep _______________________________________________ sdcc-devel mailing list sdc...@li... http://lists.sourceforge.net/lists/listinfo/sdcc-devel |