use to_i32 and to_64 in Float32 and Float64 methods