Replies: 1 comment
-
It is intentional. For example -1 is an int and 2^-1 is 1/2. The number 1/2 is not an int. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that using the power of 2 Int type creates a Real type:
I can observe this behavior in 4.8.10 and 4.8.12 but not 4.8.9. It's both notable in the Python and the C API. My expectation would be that the result of this operation would be an Int type.
Is this intentional or is this a bug?
Beta Was this translation helpful? Give feedback.
All reactions