Discover Packages
github.com/agtorre/go-cookbook
chapter3
math
package
Version:
v0.0.0-...-b631e0d
Opens a new window with list of versions in this module.
Published: Jun 11, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 4
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
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.