# File lib/standard/facets/math/sign.rb, line 10
  def self.sgn(x, zero=0.0)
    (x > 0.0) ? 1.0 : ((x < 0.0) ? -1.0 : zero)
  end