Project: Floating Point Overflow
Write a program to print the largest positive floating point value that is possible to represent accurately with [[IEEE doubles]]. Also print a value slightly larger to show what happens on overflow. Does the language produce an error or simply a warning on overflow?
Output
$ perl FloatingPointOverflow.pl
Larg float: 1e+308
Larger float: Inf
Largest float: Inf