std::ceil, std::ceilf, std::ceill - cppreference. com The library provides overloads of std::ceil for all cv-unqualified floating-point types as the type of the parameter (since C++23) (See math-floating-point and deduced-simd-t for their definitions ) A) Additional overloads are provided for all integer types, which are treated as double