Adding float casts allows them to compile on MSVC and should not affect other compilers.
Attach a file by drag & drop or click to upload