Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMaxBase (0.11 sec)

  1. src/math/big/natconv_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package big
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"math/bits"
    	"strings"
    	"testing"
    )
    
    func TestMaxBase(t *testing.T) {
    	if MaxBase != len(digits) {
    		t.Fatalf("%d != %d", MaxBase, len(digits))
    	}
    }
    
    // log2 computes the integer binary logarithm of x.
    // The result is the integer n for which 2^n <= x < 2^(n+1).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 16.8K bytes
    - Viewed (0)
Back to top