fib

@JvmOverloads
tailrec fun fib(n: Long, first: Long = 0, second: Long = 1): Long

Calculate fibonacci of n.

Example:

fib(5) // 120L

Since

1.1.0