Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRoundTrip32 (0.17 sec)

  1. src/strconv/atof_test.go

    		if f != tt.f || err != nil {
    			t.Errorf("opt ParseFloat(%s) = %b, %v want %b, nil", tt.s, f, err, tt.f)
    		}
    		SetOptimize(old)
    	}
    }
    
    // TestRoundTrip32 tries a fraction of all finite positive float32 values.
    func TestRoundTrip32(t *testing.T) {
    	step := uint32(997)
    	if testing.Short() {
    		step = 99991
    	}
    	count := 0
    	for i := uint32(0); i < 0xff<<23; i += step {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 23.6K bytes
    - Viewed (0)
Back to top