Mcp33xx.SignExtend(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Convert a signed value with a sign bit at a particular location to an int.
public static int SignExtend (int signedValue, int signingBit);
static member SignExtend : int * int -> int
Public Shared Function SignExtend (signedValue As Integer, signingBit As Integer) As Integer
Parameters
- signedValue
- Int32
Signed value with a sign bit at a particular location
- signingBit
- Int32
Bit number that contains the sign bit
Returns
A value corresponding to the signed value sign extended into an int
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for