An ACS library for ZDoom-based ports
fixed IntDiv(int a, int b)
Divides two integers and returns a fixed-point result. Allows division of any two integers whose ratio is not higher than 32767.
Can be used as a shorthand for
For a safe version see SafeIntDiv.
IntDiv(3, 2) -> 1.5 IntDiv(123456, 123) -> 1003.707