語言

Long.NumberOfTrailingZeros(Int64) 方法

定義

回傳在指定 long 值的補數二進位表示中,位於最低階(「最右」)一位元之後的零位元數。

[Android.Runtime.Register("numberOfTrailingZeros", "(J)I", "")]
public static int NumberOfTrailingZeros(long i);
[<Android.Runtime.Register("numberOfTrailingZeros", "(J)I", "")>]
static member NumberOfTrailingZeros : int64 -> int

參數

i
Int64

計算尾隨零點數的值

傳回

在二 long 元補數二進位表示中,零位元數為 64 位元,則為 64 位元。

屬性

備註

Java 文件 java.lang.Long.numberOfTrailingZeros(long)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於