Int32.LeadingZeroCount(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
计算值中前导零的数目。
public:
static int LeadingZeroCount(int value) = System::Numerics::IBinaryInteger<int>::LeadingZeroCount;
public static int LeadingZeroCount (int value);
static member LeadingZeroCount : int -> int
Public Shared Function LeadingZeroCount (value As Integer) As Integer
参数
- value
- Int32
要对其前导零进行计数的值。
返回
中 value
前导零的数目。
实现
适用于
反馈
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:提交和查看相关反馈