Allow float constants to be converted to double (fixes #17 and maybe #2)
Merge pull request #18 from Gu1/master

Allow float constants to be converted to double (fixes #17 and maybe #2)