Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFastLog2 (0.24 sec)

  1. src/runtime/fastlog2_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime_test
    
    import (
    	"math"
    	"runtime"
    	"testing"
    )
    
    func TestFastLog2(t *testing.T) {
    	// Compute the euclidean distance between math.Log2 and the FastLog2
    	// implementation over the range of interest for heap sampling.
    	const randomBitCount = 26
    	var e float64
    
    	inc := 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 784 bytes
    - Viewed (0)
Back to top