Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Log2E (0.04 sec)

  1. src/math/exp.go

    		return 0
    	case -NearZero < x && x < NearZero:
    		return 1 + x
    	}
    
    	// reduce; computed as r = hi - lo for extra precision.
    	var k int
    	switch {
    	case x < 0:
    		k = int(Log2e*x - 0.5)
    	case x > 0:
    		k = int(Log2e*x + 0.5)
    	}
    	hi := x - float64(k)*Ln2Hi
    	lo := float64(k) * Ln2Lo
    
    	// compute
    	return expmulti(hi, lo, k)
    }
    
    // Exp2 returns 2**x, the base-2 exponential of x.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Lgamma", Func, 0},
    		{"Ln10", Const, 0},
    		{"Ln2", Const, 0},
    		{"Log", Func, 0},
    		{"Log10", Func, 0},
    		{"Log10E", Const, 0},
    		{"Log1p", Func, 0},
    		{"Log2", Func, 0},
    		{"Log2E", Const, 0},
    		{"Logb", Func, 0},
    		{"Max", Func, 0},
    		{"MaxFloat32", Const, 0},
    		{"MaxFloat64", Const, 0},
    		{"MaxInt", Const, 17},
    		{"MaxInt16", Const, 0},
    		{"MaxInt32", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top