use float/double type to do calculation when need to resize
Add long_literal for long type data
Merge pull request #252 from zizon/master

Fix size calculation
Merge pull request #253 from colorant/long_literal

Add long_literal for long type data