Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,755 for math3 (0.05 sec)

  1. test/loopbce.go

    	}
    	for i := int64(math.MaxInt64 - 8); i <= math.MaxInt64-2; i += 4 { // ERROR "Induction variable: limits \[9223372036854775799,9223372036854775803\], increment 4$"
    		useString("foo")
    	}
    	for i := int64(math.MaxInt64 - 7); i <= math.MaxInt64-2; i += 4 {
    		useString("foo")
    	}
    	for i := int64(math.MaxInt64 - 6); i <= math.MaxInt64-2; i += 4 {
    		useString("foo")
    	}
    }
    
    func d5() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/importdecl0/importdecl0a.go

    	_ "math"
    	_ "net/rpc"
    	init /* ERROR "cannot import package as init" */ "fmt"
    	// reflect defines a type "flag" which shows up in the gc export data
    	"reflect"
    	. /* ERROR "imported and not used" */ "reflect"
    )
    
    import "math" /* ERROR "imported and not used" */
    import m /* ERROR "imported as m and not used" */ "math"
    import _ "math"
    
    import (
    	"math/big" /* ERROR "imported and not used" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

     * the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.DOWN;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.HALF_DOWN;
    import static java.math.RoundingMode.HALF_EVEN;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/MathTesting.java

     */
    
    package com.google.common.math;
    
    import static java.math.BigInteger.ONE;
    import static java.math.BigInteger.ZERO;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.DOWN;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.HALF_DOWN;
    import static java.math.RoundingMode.HALF_EVEN;
    import static java.math.RoundingMode.HALF_UP;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  5. src/runtime/softfloat64_test.go

    	hcmp, hisnan := hwcmp(f, g)
    	scmp, sisnan := Fcmp64(math.Float64bits(f), math.Float64bits(g))
    	if int32(hcmp) != scmp || hisnan != sisnan {
    		err(t, "cmp(%g, %g) = sw %v, %v, hw %v, %v\n", f, g, scmp, sisnan, hcmp, hisnan)
    	}
    }
    
    func same(f, g float64) bool {
    	if math.IsNaN(f) && math.IsNaN(g) {
    		return true
    	}
    	if math.Copysign(1, f) != math.Copysign(1, g) {
    		return false
    	}
    	return f == g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathTesting.ALL_BIGINTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.FINITE_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.POSITIVE_FINITE_DOUBLE_CANDIDATES;
    import static org.junit.Assert.assertThrows;
    
    import java.lang.reflect.Method;
    import java.math.BigInteger;
    import junit.framework.TestCase;
    
    /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import static com.google.common.math.StatsTesting.LONG_MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS;
    import static com.google.common.math.StatsTesting.MANY_VALUES;
    import static com.google.common.math.StatsTesting.MANY_VALUES_COUNT;
    import static com.google.common.math.StatsTesting.MANY_VALUES_MAX;
    import static com.google.common.math.StatsTesting.MANY_VALUES_MEAN;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 34K bytes
    - Viewed (0)
  8. src/math/cmplx/isnan.go

    // license that can be found in the LICENSE file.
    
    package cmplx
    
    import "math"
    
    // IsNaN reports whether either real(x) or imag(x) is NaN
    // and neither is an infinity.
    func IsNaN(x complex128) bool {
    	switch {
    	case math.IsInf(real(x), 0) || math.IsInf(imag(x), 0):
    		return false
    	case math.IsNaN(real(x)) || math.IsNaN(imag(x)):
    		return true
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 598 bytes
    - Viewed (0)
  9. src/math/big/float_test.go

    		0,
    		1,
    		2,
    		12345,
    		1e10,
    		1e100,
    		3.14159265e10,
    		2.718281828e-123,
    		1.0 / 3,
    		math.MaxFloat32,
    		math.MaxFloat64,
    		math.SmallestNonzeroFloat32,
    		math.SmallestNonzeroFloat64,
    		math.Inf(-1),
    		math.Inf(0),
    		-math.Inf(1),
    	} {
    		for i := range [2]int{} {
    			if i&1 != 0 {
    				want = -want
    			}
    			var f Float
    			f.SetFloat64(want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/list_shadow.txt

    env GO111MODULE=off
    env GOPATH=$WORK/gopath/src/shadow/root1${:}$WORK/gopath/src/shadow/root2
    
    # The math in root1 is not "math" because the standard math is.
    go list -f '({{.ImportPath}}) ({{.ConflictDir}})' ./shadow/root1/src/math
    stdout '^\(.*(\\|/)src(\\|/)shadow(\\|/)root1(\\|/)src(\\|/)math\) \('$GOROOT'(\\|/)?src(\\|/)math\)$'
    
    # The foo in root1 is "foo".
    go list -f '({{.ImportPath}}) ({{.ConflictDir}})' ./shadow/root1/src/foo
    stdout '^\(foo\) \(\)$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 1.2K bytes
    - Viewed (0)
Back to top