Redundant instruction
This is a redundant instruction. It is replaced by: FP_ROUND_DOWN
The function rounds down the decimal part of the real number data and returns it at output d.
Input
source
Output
destination
Instead of using this F instruction, we recommend using the corresponding FP7 instruction: FP_ROUND_DOWN
The converted whole-number value at output d is always less than or equal to the floating-point value at input s:
If a positive floating-point value is at the input, a positive pre-decimal point value is returned at the output.
If a negative floating-point value is at the input, the next smallest pre-decimal point value is returned at the output.
If the negative floating-point value has only zeros after the decimal point, its pre-decimal point position is returned.
if the value at input s is not a number of the data type REAL.
if the value at input s is not a number of the data type REAL.
if the calculated result is 0.
if the result causes an overflow.