??? 06/11/04 13:07 Read: times |
#72373 - RE: Division Responding to: ???'s previous message |
You would actually want to realize that this leads to a fractional result. Divide operations on integers only to integers. So you need to scale your dividend by say 100 and the use a 16-bit by 16-bit divide. The quotent will then be understood to be 100 times larger than its actual integer represented value.
Look in the Code Library here for higher resolution math routines. Michael Karas |
Topic | Author | Date |
Division | 01/01/70 00:00 | |
RE: Division | 01/01/70 00:00 | |
RE: Division | 01/01/70 00:00 | |
RE: Division | 01/01/70 00:00 | |
RE: Division | 01/01/70 00:00 | |
RE: Division | 01/01/70 00:00 | |
RE: Division | 01/01/70 00:00 | |
RE: Division | 01/01/70 00:00 | |
RE: Division | 01/01/70 00:00 | |
RE: Division![]() | 01/01/70 00:00 |