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 job for !14 with windows-fixes in 20 seconds (queued for 2 minutes and 14 seconds)
detached
Status Job ID Name Coverage
  Test
passed #10771
docker
whitespace

00:00:20