Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Gcd (0.11 sec)

  1. src/math/big/int_test.go

    	}
    	var Y *Int
    	if y != nil {
    		Y = new(Int)
    	}
    
    	D := new(Int).GCD(X, Y, a, b)
    	if D.Cmp(d) != 0 {
    		t.Errorf("GCD(%s, %s, %s, %s): got d = %s, want %s", x, y, a, b, D, d)
    	}
    	if x != nil && X.Cmp(x) != 0 {
    		t.Errorf("GCD(%s, %s, %s, %s): got x = %s, want %s", x, y, a, b, X, x)
    	}
    	if y != nil && Y.Cmp(y) != 0 {
    		t.Errorf("GCD(%s, %s, %s, %s): got y = %s, want %s", x, y, a, b, Y, y)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    		fuzzArg = []string{"-test.fuzzcachedir=" + fuzzCacheDir}
    	}
    	coverdirArg := []string{}
    	addToEnv := ""
    	if cfg.BuildCover {
    		gcd := filepath.Join(a.Objdir, "gocoverdir")
    		if err := sh.Mkdir(gcd); err != nil {
    			// If we can't create a temp dir, terminate immediately
    			// with an error as opposed to returning an error to the
    			// caller; failed MkDir most likely indicates that we're
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top