SPLat Logo

fDec

NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

fDec

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

Subtracts 1 from W. Q is unchanged.

fDec executes faster than subtracting one with explicit code.

Click here for Result Codes.

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

See also fInc