wahorger
Joined: 13 Oct 2014 Posts: 1225 Location: Morrison, CO, USA
|
Posted: Fri Dec 22, 2023 10:54 pm Post subject: |
|
|
If you have a calculation that generates a floating point overflow, you can have it detected. Other than that, you are out of luck. This ability is documented in the HELP file that comes with PLATO. Search for floating point trap, or just "floating point" to get references.
MATLAB traps these conditions (overflow, underflow) and signals internally that infinity is reached. Remember, MATLAB is NOT a compiler that generates native code, as does FTN95. So it can deal with INFINITY in whatever way it chooses. |
|