Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ExpGo (0.02 sec)

  1. src/math/export_test.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // 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/arith_s390x_test.go

    		}
    	}
    }
    
    func TestExpNovec(t *testing.T) {
    	if !HasVX {
    		t.Skipf("no vector support")
    	}
    	testExpNovec(t, Exp, "Exp")
    	testExpNovec(t, ExpGo, "ExpGo")
    }
    
    func testExpNovec(t *testing.T, Exp func(float64) float64, name string) {
    	for i := 0; i < len(vf); i++ {
    		if f := ExpNovec(vf[i]); !veryclose(exp[i], f) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 10.8K bytes
    - Viewed (0)
  3. src/math/all_test.go

    		if f := Erfcinv(Erfc(x)); !close(x, f) {
    			t.Errorf("Erfcinv(Erfc(%g)) = %g, want %g", x, f, x)
    		}
    	}
    }
    
    func TestExp(t *testing.T) {
    	testExp(t, Exp, "Exp")
    	testExp(t, ExpGo, "ExpGo")
    }
    
    func testExp(t *testing.T, Exp func(float64) float64, name string) {
    	for i := 0; i < len(vf); i++ {
    		if f := Exp(vf[i]); !veryclose(exp[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