- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for nto (0.01 sec)
-
src/cmd/compile/internal/ssa/rewrite.go
func oneBit16(x int16) bool { return x&(x-1) == 0 && x != 0 } func oneBit32(x int32) bool { return x&(x-1) == 0 && x != 0 } func oneBit64(x int64) bool { return x&(x-1) == 0 && x != 0 } // nto returns the number of trailing ones. func nto(x int64) int64 { return int64(ntz64(^x)) } // logX returns logarithm of n base 2. // n must be a positive power of 2 (isPowerOfTwoX returns true). func log8(n int8) int64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0)