fork download
  1. #include <iostream>
  2. #include <limits>
  3. using namespace std;
  4.  
  5. int main() {
  6. float den = std::numeric_limits<float>::min();
  7. float num = 100000.;
  8. cout << den << endl;
  9. cout << (num / den) << endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 5532KB
stdin
Standard input is empty
stdout
1.17549e-38
inf