📜  c++ std::fmin - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:50.050000             🧑  作者: Mango

代码示例1
#include 
#include 
 
int main()
{
    std::cout << "fmin(2,1)    = " << std::fmin(2,1) << '\n'
              << "fmin(-Inf,0) = " << std::fmin(-INFINITY,0) << '\n'
              << "fmin(NaN,-1) = " << std::fmin(NAN,-1) << '\n';
}