mtasa-blue
mtasa-blue copied to clipboard
Detect integral under/overflow and NaN in new parser
The new parser didn't deal correctly with NaN, under/overflows and signed to unsigned conversions.
Now it will SetBadArgument if:
- casting the read number is
negativeandTisunsigned. - the read number is
NaN(previously this was only done for T = double/float)
Also added under/overflow detection stuff for debug mode.
This draft pull request is stale because it has been open for at least 90 days with no activity. Please continue on your draft pull request or it will be closed in 30 days automatically.
This draft pull request was closed because it has been marked stale for 30 days with no activity.