Created
August 10, 2020 10:53
-
-
Save 0xkohe/3887b0ddd4cdc463b8f0520d2702ec98 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func fibExp(t fibNum, n int) (r fibNum) { | |
r := t | |
for i := 1; i < n; i++ { | |
r = fibMul(t, r) | |
} | |
return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment