lib/analysis: made parameters to all floor functions explicitly double to fix MSVC error