Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 4789759874531 (1.14 sec)

  1. src/math/big/rat_test.go

    		t.Errorf("5) got %s want %s", x, q)
    	}
    }
    
    func TestIssue3521(t *testing.T) {
    	a := new(Int)
    	b := new(Int)
    	a.SetString("64375784358435883458348587", 0)
    	b.SetString("4789759874531", 0)
    
    	// 0) a raw zero value has 1 as denominator
    	zero := new(Rat)
    	one := NewInt(1)
    	if zero.Denom().Cmp(one) != 0 {
    		t.Errorf("0) got %s want %s", zero.Denom(), one)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 07 00:15:59 UTC 2022
    - 18.9K bytes
    - Viewed (0)
Back to top