Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for basicSqr (0.07 sec)

  1. src/math/big/calibrate_test.go

    // Calculates lower and upper thresholds for when basicSqr
    // is faster than standard multiplication.
    
    // Usage: go test -run='^TestCalibrate$' -v -calibrate
    
    package big
    
    import (
    	"flag"
    	"fmt"
    	"testing"
    	"time"
    )
    
    var calibrate = flag.Bool("calibrate", false, "run calibration test")
    
    const (
    	sqrModeMul       = "mul(x, x)"
    	sqrModeBasic     = "basicSqr(x)"
    	sqrModeKaratsuba = "karatsubaSqr(x)"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top