We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
float
Right now DP warns and returns 0.0.
I suggest keeping the warning (but possibly create an opt-out cvar for mods that rely on this way of getting a nan) but returning nan.
Should be done after #237.
The text was updated successfully, but these errors were encountered:
Make division by 0 return NAN when output is a floating point type, n…
0be808c
…ot 0. For now the division by zero warning is kept. Fixed #240.
Created a branch divVerent/div_nan for this to be applied after #237.
divVerent/div_nan
Sorry, something went wrong.
95b1362
Let's put the new behavior behind a cvar, though, as nans can do quite some damage.
No branches or pull requests
Right now DP warns and returns 0.0.
I suggest keeping the warning (but possibly create an opt-out cvar for mods that rely on this way of getting a nan) but returning nan.
Should be done after #237.
The text was updated successfully, but these errors were encountered: