# File lib/core/facets/integer/factorial.rb, line 11
  def factorial
    return 1 if zero?
    f = 1
    2.upto(self) { |n| f *= n }
    f
  end