908 909 910 911
# File 'lib/rubyhacks.rb', line 908 def self.heaviside(num) return 1.0 if num >= 0.0 return 0.0 end