Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BenchmarkMin (0.3 sec)

  1. src/math/all_test.go

    		x = Floor(.5)
    	}
    	GlobalF = x
    }
    
    func BenchmarkMax(b *testing.B) {
    	x := 0.0
    	for i := 0; i < b.N; i++ {
    		x = Max(10, 3)
    	}
    	GlobalF = x
    }
    
    func BenchmarkMin(b *testing.B) {
    	x := 0.0
    	for i := 0; i < b.N; i++ {
    		x = Min(10, 3)
    	}
    	GlobalF = x
    }
    
    func BenchmarkMod(b *testing.B) {
    	x := 0.0
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  2. src/math/cmplx/cmath_test.go

    	for i := 0; i < b.N; i++ {
    		Pow(complex(2.5, 3.5), complex(2.5, 3.5))
    	}
    }
    func BenchmarkRect(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		Rect(2.5, 1.5)
    	}
    }
    func BenchmarkSin(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		Sin(complex(2.5, 3.5))
    	}
    }
    func BenchmarkSinh(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		Sinh(complex(2.5, 3.5))
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
Back to top