4 ms·
> Integer division q=(x/y) and remainder (of Euclidean division) r=(x%y) hardware operations are very sad on current hardware. Typically very long latency and p
by BiraIgnacio 2mo ago
> Integer division q=(x/y) and remainder (of Euclidean division) r=(x%y) hardware operations are very sad on current hardware. Typically very long latency and poor throughput. In contrast floating-point division is pretty happy: shorter latency, higher throughput and often more execution units to perform the operation.
oh wow I missed when this started to happen
- ted_dunning 2mo agoIT started in the 60s with the CDC6400, actually. It's no wonder you missed it.