// Bug Demo with Intel C++ 2020.2 + Visual C++ 16.9.4 // // Build fails with LNK2019 errors: // unresolved external symbol __floorf referenced in function main // unresolved external symbol __floor referenced in function main // // Build command: // icl floor_bug.cpp #include #include int main() { std::cout << std::floor( 42.0 ); // OK std::cout << std::floor( 42.0F ); std::cout << std::floor( 42.0L ); }