[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Driver question




If your CPU lacks division ops you can either try to find the right
library in your libc (userland) sources or roll your own function.

Example implementation (found by google "integer division"):
http://www.bearcave.com/software/divide.htm



> Can you tell me the best way to do division?
> 
> 
> A = b / c;
> 
> I get the following unresolved symbol:
> 
> /sbin/rocket.o: unresolved symbol __udivdi3
> 
> 



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.