Golang Factorial Very clean implementation of uint factorial function using golang/math Gamma function detects overflow boundary for execution architecture uses golang typical 'ok' symantics for reporting overflow overflow tests suitable for linux/x64 - ymmv