int8
Convert to signed 8-bit integer (range −128 to 127).
Syntax
Section titled “Syntax”S = int8(X)Description
Section titled “Description”Returns X converted to int8. Values outside [-128, 127] are saturated to the nearest representable value.
Example
Section titled “Example”int8(-200) % -128 (saturated)