You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiler name and version number: Ubuntu clang 20.0.0
Description
Expected behavior: executing code doesn't crash
Actual behavior: executing code crash, Floating Point Exception (FPE)
Steps to reproduce
When using a random function to create a random number, if the input data value is 0, a floating point exception will be generated when the randomInt function is called internally to generate a random number.Here's a snippet of code that demonstrates how this could occur:
Bug Report
Environment
Description
Steps to reproduce
When using a random function to create a random number, if the input data value is 0, a floating point exception will be generated when the randomInt function is called internally to generate a random number.Here's a snippet of code that demonstrates how this could occur:
Output
Here is what the output shows:
The text was updated successfully, but these errors were encountered: