Obviously, the issue here is your exceeding the maximum range representable by a 64-bit floating point number format, which is about +1.79769E+308.
If you do need to work with larger numbers, consider performing calculations in DECFLOAT(34)
instead (if your DB2 version supports this data type).