Rare numbers: Difference between revisions

Content deleted Content added
PureFox (talk | contribs)
→‎{{header|Go}}: Replaced Cartesian product with a recursive loop, unified the two previous versions and extended Rare number generation to 18 digits.
PureFox (talk | contribs)
m →‎{{header|Go}}: Corrected maxDigits.
Line 136: Line 136:
}
}


const maxDigits = 15
const maxDigits = 18


func toInt64(digits []int8, reverse bool) int64 {
func toInt64(digits []int8, reverse bool) int64 {