You are always limited by a loss of percision depending on how large your divisor is. And for exact results you have to mul the answer of the first result and then correct by one. So just for correcting the result that's your 76 gates and 5 ticks latency minimum. And now you need this at every train stop.almania wrote: Fri Mar 08, 2024 11:02 am DIV can be made accurate via computing MOD at the same time, and adjusting each if > the denominator, as you've got the result +/- 1 already. With some massaging of the recipricol, you can get it +0/-1, which makes it a bit easier.
It's just not practical nor is it fun.
PS: I'm not sure you actually can (easily) get a result with at most off by one sind the divisior of every signal can be different and you would have to massage the recipricols of each signal differently.