28 Eylül 2020 Pazartesi

std::fmin metodu

Açıklaması şöyle
std::min is defined in terms of an (a<b) comparison expression (cppreference), with (a<b) ? a : b as a possible implementation, unlike std::fmin which guarantees NaN propagation from either operand, among other things. (fmin originally came from the C math library, not a C++ template.)

Hiç yorum yok:

Yorum Gönder