# File lib/facets/more/infinity.rb, line 128 def to_s case @direction when 0 : "NaN" when 1 : "PosInf" when -1 : "NegInf" end end