Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLogic64 (3.7 sec)

  1. src/cmd/compile/internal/test/logic_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package test
    
    import "testing"
    
    // Tests to make sure logic simplification rules are correct.
    
    func TestLogic64(t *testing.T) {
    	// test values to determine function equality
    	values := [...]int64{-1 << 63, 1<<63 - 1, -4, -3, -2, -1, 0, 1, 2, 3, 4}
    
    	// golden functions we use repeatedly
    	zero := func(x int64) int64 { return 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top