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
Are there other related issues or pull requests about this bug?
No response
Details
According to the table, implicit casting is allowed between bool, int, uint, and float, and also from float to angle. However, bool, int, uint are not allowed to be cast to angle. This seems to imply angle(int_var) is illegal, even though implicit casting seems to allow using ints in places where floats are allowed (eg sin(int_var), or one might assume, angle(int_var)).
The text was updated successfully, but these errors were encountered:
What is the file name(s) where you found the bug?
types.rst
What is the current text that needs to be fixed or removed? (You can copy and paste)
Allowed Casts table
What should the documentation say instead?
Fixed table
Are there other related issues or pull requests about this bug?
No response
Details
According to the table, implicit casting is allowed between bool, int, uint, and float, and also from float to angle. However, bool, int, uint are not allowed to be cast to angle. This seems to imply
angle(int_var)
is illegal, even though implicit casting seems to allow using ints in places where floats are allowed (egsin(int_var)
, or one might assume,angle(int_var)
).The text was updated successfully, but these errors were encountered: