Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for trailingZeros (0.8 sec)

  1. src/cmd/compile/internal/ssa/rewrite.go

    func ntz32(x int32) int { return bits.TrailingZeros32(uint32(x)) }
    func ntz16(x int16) int { return bits.TrailingZeros16(uint16(x)) }
    func ntz8(x int8) int   { return bits.TrailingZeros8(uint8(x)) }
    
    func oneBit(x int64) bool   { return x&(x-1) == 0 && x != 0 }
    func oneBit8(x int8) bool   { return x&(x-1) == 0 && x != 0 }
    func oneBit16(x int16) bool { return x&(x-1) == 0 && x != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top