class Mingle::MingleFloatingPointImpl

Public Class Methods

new( num, fmt ) click to toggle source
Calls superclass method Mingle::MingleNumber::new
# File lib/mingle.rb, line 198
def initialize( num, fmt )
    super( [ num.to_f ].pack( fmt ).unpack( fmt )[ 0 ] )
end