Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ std::fmin

#include <iostream>
#include <cmath>
 
int main()
{
    std::cout << "fmin(2,1)    = " << std::fmin(2,1) << '
'
              << "fmin(-Inf,0) = " << std::fmin(-INFINITY,0) << '
'
              << "fmin(NaN,-1) = " << std::fmin(NAN,-1) << '
';
}
Source by www.enseignement.polytechnique.fr #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
9+8 =