#How to avoid pow() when working with integers?
7 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
Writing an integer exponentiation routine yourself. Algorithms are available out there.
"Precomputed table" just means you already have a table of all the results somewhere and just get to the corresponding entry when it's needed, say a multiplication table:
8.0 = 0
8.1 = 8
8.2 = 16
8.3 = 24
8.4 = 32
8.5 = 40
8.6 = 48
8.7 = 56
8.8 = 64
8.9 = 72
8.10 = 80
i'll look into it, thanks.
@summer scarab Has your question been resolved? If so, type !solved :)
!solved