Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFloatInc (0.09 sec)

  1. src/math/big/float_test.go

    			t.Errorf("%s: got %s; want %s", test, n2.Text('g', 10), n1.Text('g', 10))
    		}
    		if !alike(p2, p1) {
    			t.Errorf("%s: got %s; want %s", test, p2.Text('g', 10), p1.Text('g', 10))
    		}
    	}
    }
    
    func TestFloatInc(t *testing.T) {
    	const n = 10
    	for _, prec := range precList {
    		if 1<<prec < n {
    			continue // prec must be large enough to hold all numbers from 0 to n
    		}
    		var x, one Float
    		x.SetPrec(prec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
Back to top