Division by zero
Division by zero
Posted Jan 6, 2025 17:39 UTC (Mon) by farnz (subscriber, #17727)In reply to: Division by zero by paulj
Parent article: Preventing data races with Pony
Not for the integer UDIV and SDIV instructions. You can see in the "Operation" section (which uses Arm Pseudocode to describe the behaviour in abstract terms) that the instruction unconditionally outputs a 0 result if the input divisor is 0.
