program floating-point-check command

Syntax

program floating-point-check b

Enable/disable the floating point check. By default this check is turned off. Enabling this check will cause the model to check at least once a cycle for a flag indicating a floating point error has occurred at some po int. An example would be an overflow resulting in an infinite value, or an illegal value resulting in not-a-number. Often these errors are transitory and do not affect the result, but there are occasions when detecting and halting as soon as possible before the values are allowed to propagate through the model can help identify the cause.