Avoid double-float truncation warnings from MSVC in the Lancelot test


Due to the float-based API care must be taken to use the 'f' suffixes
and sometimes cast explicitly.

Pick-to: 6.12
Change-Id: I1b86c8c85e06755e109e87d0cccb94d4e5c62ebf
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commit1f99d0195a5075c6963db428733db0e8bd0f4578
parentcf25a531174668a9d5170788ad09920a4a6f73bc
authorLaszlo Agocs <laszlo.agocs@qt.io>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeWed, 10 Jun 2026 07:36:26 +0000