Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ExampleReverse32 (0.65 sec)

  1. src/math/bits/example_test.go

    	// 11001000
    }
    
    func ExampleReverse16() {
    	fmt.Printf("%016b\n", 19)
    	fmt.Printf("%016b\n", bits.Reverse16(19))
    	// Output:
    	// 0000000000010011
    	// 1100100000000000
    }
    
    func ExampleReverse32() {
    	fmt.Printf("%032b\n", 19)
    	fmt.Printf("%032b\n", bits.Reverse32(19))
    	// Output:
    	// 00000000000000000000000000010011
    	// 11001000000000000000000000000000
    }
    
    func ExampleReverse64() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:16:09 UTC 2019
    - 5.3K bytes
    - Viewed (0)
Back to top