Merge pull request #12 from CrazyHZM/floatBug, fix float accuracy issues