FP_CLR - Clear FP flags

FP_CLR - Clear FP flags

Language reference ›› Built-in procedures ›› Floating Point management ››
Parent Previous Next

FP_CLR

Purpose: Initializes the floating point flags (FP_FLAGS).


These flags are only cleared once at program starting and never reset until FP_CLR is called by the programmer.

With this method, if there is an error in a complex FP expression, flags may be tested after the whole expression evaluation and reset before or after.