Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Elevens = []int{ 1, 1, 11, 101, 1001, 10001, 100001, 1000001, 10000001, 100000001, 1000000001, 10000000001, 100000000001, } Nines = []int{ 1, 9, 99, 999, 9999, 99999, 999999, 9999999, 99999999, 999999999, 9999999999, 99999999999, 999999999999, } Offsets = []int{ 0, 10, 110, 1110, 11110, 111110, 1111110, 11111110, } Expected = []int{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1946112, 8167808, 3416576, } )
View Source
var (
// Mod is the global digit mask. Don't change this. Unless you hate yourself.
Mod = 10000000
)
Functions ¶
func FactorialVerbose ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.