SPLat Logo

fInc

NOTICE: We are updating our website. For product enquiries and orders please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

fInc

W = W + 1.0; R = (W is NaN) ? 3 : ((W = +/- 1677215) ? 4 : ((W == 0) ? 0 : ((W > 0) ? 1 : ((W < 0) ? 2 : 3))))

Adds 1 to W. Q is unchanged.

fInc executes faster than adding one with explicit code.

Click here for Result Codes.

Dialect restriction: The fInc instruction is not implemented in boards with dialect numbers less than 6, or which do not have the FP processor.

See also fDec