Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 775 for math3 (0.04 sec)

  1. utils/utils_test.go

    		out  string
    	}{
    		{"int", math.MaxInt64, "9223372036854775807"},
    		{"int8", int8(math.MaxInt8), "127"},
    		{"int16", int16(math.MaxInt16), "32767"},
    		{"int32", int32(math.MaxInt32), "2147483647"},
    		{"int64", int64(math.MaxInt64), "9223372036854775807"},
    		{"uint", uint(math.MaxUint64), "18446744073709551615"},
    		{"uint8", uint8(math.MaxUint8), "255"},
    		{"uint16", uint16(math.MaxUint16), "65535"},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Feb 19 03:42:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-cpu.go

    		m.Set(sysCPULoadPerc, math.Round(perc*100)/100)
    	}
    
    	ts := cpuMetrics.TimesStat
    	tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    	cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    	m.Set(sysCPUUser, cpuUserVal)
    	cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    	m.Set(sysCPUSystem, cpuSystemVal)
    	cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100
    	m.Set(sysCPUNice, cpuNiceVal)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 23 23:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/go/build/deps_test.go

    	< TIME;
    
    	TIME, io, path, slices
    	< io/fs;
    
    	# MATH is RUNTIME plus the basic math packages.
    	RUNTIME
    	< math
    	< MATH;
    
    	unicode !< math;
    
    	MATH
    	< math/cmplx;
    
    	MATH
    	< math/rand, math/rand/v2;
    
    	MATH
    	< runtime/metrics;
    
    	RUNTIME, math/rand/v2
    	< internal/concurrent;
    
    	MATH, unicode/utf8
    	< strconv;
    
    	unicode !< strconv;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static java.math.BigInteger.ONE;
    import static java.math.BigInteger.TEN;
    import static java.math.BigInteger.ZERO;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.DOWN;
    import static java.math.RoundingMode.FLOOR;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/DoubleMath.java

    import static com.google.common.math.MathPreconditions.checkInRangeForRoundingInputs;
    import static com.google.common.math.MathPreconditions.checkNonNegative;
    import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
    import static java.lang.Math.abs;
    import static java.lang.Math.copySign;
    import static java.lang.Math.getExponent;
    import static java.lang.Math.log;
    import static java.lang.Math.rint;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/DoubleMath.java

    import static com.google.common.math.MathPreconditions.checkInRangeForRoundingInputs;
    import static com.google.common.math.MathPreconditions.checkNonNegative;
    import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
    import static java.lang.Math.abs;
    import static java.lang.Math.copySign;
    import static java.lang.Math.getExponent;
    import static java.lang.Math.log;
    import static java.lang.Math.rint;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. src/runtime/minmax_test.go

    // license that can be found in the LICENSE file.
    
    package runtime_test
    
    import (
    	"math"
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    var (
    	zero    = math.Copysign(0, +1)
    	negZero = math.Copysign(0, -1)
    	inf     = math.Inf(+1)
    	negInf  = math.Inf(-1)
    	nan     = math.NaN()
    )
    
    var tests = []struct{ min, max float64 }{
    	{1, 2},
    	{-2, 1},
    	{negZero, zero},
    	{zero, inf},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 01:41:50 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/slices/slices_test.go

    		{x: make([]struct{}, math.MaxInt/6-5), count: 6, want: make([]struct{}, 6*(math.MaxInt/6-5))},
    		{x: make([]struct{}, math.MaxInt/7-6), count: 7, want: make([]struct{}, 7*(math.MaxInt/7-6))},
    		{x: make([]struct{}, math.MaxInt/8-7), count: 8, want: make([]struct{}, 8*(math.MaxInt/8-7))},
    		{x: make([]struct{}, math.MaxInt/9-8), count: 9, want: make([]struct{}, 9*(math.MaxInt/9-8))},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  9. src/encoding/gob/decgen.go

    			error_(ovfl)
    		}
    		slice[i] = int(x)`,
    	},
    	{
    		"int16",
    		"Int16",
    		`x := state.decodeInt()
    		if x < math.MinInt16 || math.MaxInt16 < x {
    			error_(ovfl)
    		}
    		slice[i] = int16(x)`,
    	},
    	{
    		"int32",
    		"Int32",
    		`x := state.decodeInt()
    		if x < math.MinInt32 || math.MaxInt32 < x {
    			error_(ovfl)
    		}
    		slice[i] = int32(x)`,
    	},
    	{
    		"int64",
    		"Int64",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

    import static com.google.common.math.MathTesting.FRACTIONAL_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.INFINITIES;
    import static com.google.common.math.MathTesting.INTEGRAL_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.POSITIVE_FINITE_DOUBLE_CANDIDATES;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top