Discover Packages
github.com/ibiscum/Go-Programming-Cookbook-Second-Edition
chapter03
internal
math
package
Version:
v0.0.0-...-1a66df0
Opens a new window with list of versions in this module.
Published: Feb 1, 2025
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Examples demonstrates some of the functions
in the math package
Fib prints the nth digit of the fibonacci sequence
it will return 1 for anything < 0 as well...
it's calculated recursively and use big.Int since
int64 will quickly overflow
Source Files
¶
Click to show internal directories.
Click to hide internal directories.