Fix MSVC build and few warnings
Merge pull request #4 from igorko/floating

Fix MSVC build and few warnings