int32 - Stored integer value of fi object as built-in int32

Syntax

c = int32(a)

Description

Fixed-point numbers can be represented as

or, equivalently as

The stored integer is the raw binary number, in which the binary point is assumed to be at the far right of the word.

c = int32(a) returns the stored integer value of fi object a as a built-in int32. If the stored integer word length is too big for an int32, or if the stored integer is unsigned, the returned value saturates to an int32.

See Also

int, int8, int16, int64, uint8, uint16, uint32, uint64

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS