fork download
  1. #include <iostream>
  2. #include <limits>
  3.  
  4. int main() {
  5. float myFloat = std::numeric_limits<float>::max();
  6. if(myFloat == std::numeric_limits<float>::max())
  7. std::cout << "Yes";
  8. }
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
Yes