Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTrigReduce (0.1 sec)

  1. src/math/all_test.go

    			t.Errorf("Tan(%g) = %g, want %g", vf[i]+large, f2, f1)
    		}
    	}
    }
    
    // Check that trigReduce matches the standard reduction results for input values
    // below reduceThreshold.
    func TestTrigReduce(t *testing.T) {
    	inputs := make([]float64, len(vf))
    	// all of the standard inputs
    	copy(inputs, vf)
    	// all of the large inputs
    	large := float64(100000 * Pi)
    	for _, v := range vf {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
Back to top