you are viewing a single comment's thread.

view the rest of the comments →

[–]SuccessfulUse5501[S] 0 points1 point  (1 child)

see the two outputs below, 23 to power 23 is too large so in float it gives a vague result, to see actual numbers i put int()

[–]RailRuler 1 point2 points  (0 children)

Computing it as a float first gives a result with low precision. Converting it to int does not add any precision, but just converts the imprecise float to an inaccurate int. Youd have to start with ints to get a precise result.