mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-09 11:29:36 +00:00
748e7dd4c7
In exponent(), 'base *= base;' should not run when base is 65536, since it overflows an int32_t. This also optimizes exponent() based on gcc and clang -O3 test cases in godbolt.org.