Fix float infinite values

Before this fix:

    print 1.0 / 0.0 # 0.00

After:

    print 1.0 / 0.0 # inf