fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. std::cout.precision(50); // print out a ton of digits
  6.  
  7. int i = 1234567890;
  8. float f = (float)i;
  9.  
  10. std::cout << i << std::endl;
  11. std::cout << f << std::endl;
  12. }
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
1234567890
1234567936