Given a real value, can we check if a float data type is enough to store the number, or a double is required?
float
double
I know precision varies from architecture to architecture. Is there any C/C++ function to determine the right data type?