| Fixed-Point Toolbox™ | ![]() |
Stored integer value of fi object as built-in int8
int8(a)
Fixed-point numbers can be represented as
![]()
or, equivalently,
![]()
The stored integer is the raw binary number, in which the binary point is assumed to be at the far right of the word.
int8(a) returns the stored integer value of fi object a as a built-in int8. If the stored integer word length is too big for an int8, or if the stored integer is unsigned, the returned value saturates to an int8.
int, int16, int32, uint8, uint16, uint32
![]() | int | int16 | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |