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
From my understanding, when transmuting a value to a bool the behavior should be similar to C where zero is considered false and anything else is considered true. The problem arises when trying to transmute a value that is neither zero nor one. While there is no error, the resulting boolean is never equal to the untyped boolean "true".
Context
From my understanding, when transmuting a value to a bool the behavior should be similar to C where zero is considered false and anything else is considered true. The problem arises when trying to transmute a value that is neither zero nor one. While there is no error, the resulting boolean is never equal to the untyped boolean "true".
Expected Behavior
Transmuted boolean should be equal to untyped boolean "true".
Current Behavior
The comparison returns "false".
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
The text was updated successfully, but these errors were encountered: