Fix MSVC warning about trunction from double to float

Specify the precision as float to avoid truncating from double.

Signed-off-by: Mark Harris <mark.hsj@gmail.com>
1 file changed