Ad
  • Custom User Avatar

    In the same boat as you. I have tried using the numeric limits library, but I only get close 0.999999. I am not sure I know what to do with inf in c++, long double is as about as large a data type as I know, without using the GMP library. I would like to understand what should be done with calculations that reach beyond the limits of standard data types as well.