Precision of floating point types
Find the precision of the data types float, double, and long double by seeking the smallest value of d for which 1 + d ¹ 1 when stored in a variable of that type.