Scala noobie here, professionally programmed in C#, R, and Perl. How do you check for a Double overflow? Do you have to roll your own? See code below and output. As far as I