::trunc: 不大于给定值的最近整数;
std::round: 舍入取整;
std::lround: 舍入取整, 返回long int;
std::llround: 舍入取整, 返回long...)),返回long int;
std::llrint: 使用当前的舍入模式取整(fegetround()),返回long longint;
std::exp: ex;
std::frexp: 将一个浮点数分解为有效数... floor ceil trunc
printf(format, 2.3, std::round(2.3), std::floor(2.3), std::ceil(2.3), std::...(format, -2.3, std::round(-2.3), std::floor(-2.3), std::ceil(-2.3), std::trunc(-2.3)); // -2.0 -3.0... -2.0 -2.0
printf(format, -3.8, std::round(-3.8), std::floor(-3.8), std::ceil(-3.8), std::trunc