There is a bug in AS:Div, when trying division by zero.
60 div 0
Returned value:∞
i.e. NaN
AS:Div(60,0)
Function ‘AS:Div()’ has failed.
Should be the same behavior in both cases. If I need use division in some inline functions, it’s always evaluated and error is thrown. In case of using AS:Div, there is extra logic needed to avoid this.