Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Exp2Go (0.17 sec)

  1. src/math/export_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package math
    
    // Export internal functions for testing.
    var ExpGo = exp
    var Exp2Go = exp2
    var HypotGo = hypot
    var SqrtGo = sqrt
    var TrigReduce = trigReduce
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 13 06:33:18 UTC 2018
    - 357 bytes
    - Viewed (0)
  2. src/math/all_test.go

    			t.Errorf("Expm1(%g) = %g, want %g", vfexpm1SC[i], f, expm1SC[i])
    		}
    	}
    }
    
    func TestExp2(t *testing.T) {
    	testExp2(t, Exp2, "Exp2")
    	testExp2(t, Exp2Go, "Exp2Go")
    }
    
    func testExp2(t *testing.T, Exp2 func(float64) float64, name string) {
    	for i := 0; i < len(vf); i++ {
    		if f := Exp2(vf[i]); !close(exp2[i], f) {
    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