fixed: explicitly use a double to aid compiler in choosing overload

fixes build with some compilers