$ 0 0 8 bit machines to slow to do the maths real time.... thus they use tables you can generate your own table see [github.com]