Skip to content
Discussion options

You must be logged in to vote

Hello! It is not possible to implement int.power as returning an int as that mathematical operation does not always return a whole number. It is also not possible to have it always return a float as there are numbers for which it is not defined.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by nksfrank
Comment options

You must be logged in to vote
1 reply
@lpil
Comment options

lpil Jun 24, 2024
Maintainer

Comment options

You must be logged in to vote
3 replies
@ollema
Comment options

@lpil
Comment options

lpil Jul 9, 2024
Maintainer

@mtsknn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants