Skip to content

btsomogyi/factorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

Languages