Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for two32l (0.11 sec)

  1. src/cmd/compile/internal/test/shift_test.go

    		}
    	}
    }
    
    //go:noinline
    func two64l(x int64) int64 {
    	return x << 1 << 1
    }
    
    //go:noinline
    func two64r(x int64) int64 {
    	return x >> 1 >> 1
    }
    
    //go:noinline
    func two64ur(x uint64) uint64 {
    	return x >> 1 >> 1
    }
    
    //go:noinline
    func two32l(x int32) int32 {
    	return x << 1 << 1
    }
    
    //go:noinline
    func two32r(x int32) int32 {
    	return x >> 1 >> 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 22:26:39 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  2. test/float_lit3.go

    package main
    
    // See float_lit2.go for motivation for these values.
    const (
    	two24   = 1.0 * (1 << 24)
    	two53   = 1.0 * (1 << 53)
    	two64   = 1.0 * (1 << 64)
    	two128  = two64 * two64
    	two256  = two128 * two128
    	two512  = two256 * two256
    	two768  = two512 * two256
    	two1024 = two512 * two512
    
    	ulp32 = two128 / two24
    	max32 = two128 - ulp32
    
    	ulp64 = two1024 / two53
    	max64 = two1024 - ulp64
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 03 16:24:32 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  3. test/float_lit2.go

    	{0x7f7fffff, float32(max32), float32(max32 - ulp32/2 + 1/two128), "max32 - ulp32/2 + 1/two128"},
    	{0x7f7fffff, float32(max32), float32(max32 + ulp32/2 - 1/two128), "max32 + ulp32/2 - 1/two128"},
    	{0xff7fffff, float32(-(max32)), float32(-(max32 - ulp32 + ulp32/2 + 1/two128)), "-(max32 - ulp32 + ulp32/2 + 1/two128)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:39:47 UTC 2016
    - 7.9K bytes
    - Viewed (0)
  4. src/math/jn.go

    // Jn returns the order-n Bessel function of the first kind.
    //
    // Special cases are:
    //
    //	Jn(n, ±Inf) = 0
    //	Jn(n, NaN) = NaN
    func Jn(n int, x float64) float64 {
    	const (
    		TwoM29 = 1.0 / (1 << 29) // 2**-29 0x3e10000000000000
    		Two302 = 1 << 302        // 2**302 0x52D0000000000000
    	)
    	// special cases
    	switch {
    	case IsNaN(x):
    		return x
    	case IsInf(x, 0):
    		return 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  5. src/math/j0.go

    //
    // Special cases are:
    //
    //	J0(±Inf) = 0
    //	J0(0) = 1
    //	J0(NaN) = NaN
    func J0(x float64) float64 {
    	const (
    		Huge   = 1e300
    		TwoM27 = 1.0 / (1 << 27) // 2**-27 0x3e40000000000000
    		TwoM13 = 1.0 / (1 << 13) // 2**-13 0x3f20000000000000
    		Two129 = 1 << 129        // 2**129 0x4800000000000000
    		// R0/S0 on [0, 2]
    		R02 = 1.56249999999999947958e-02  // 0x3F8FFFFFFFFFFFFD
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 13.6K bytes
    - Viewed (0)
  6. src/math/j1.go

    // J1 returns the order-one Bessel function of the first kind.
    //
    // Special cases are:
    //
    //	J1(±Inf) = 0
    //	J1(NaN) = NaN
    func J1(x float64) float64 {
    	const (
    		TwoM27 = 1.0 / (1 << 27) // 2**-27 0x3e40000000000000
    		Two129 = 1 << 129        // 2**129 0x4800000000000000
    		// R0/S0 on [0, 2]
    		R00 = -6.25000000000000000000e-02 // 0xBFB0000000000000
    		R01 = 1.40705666955189706048e-03  // 0x3F570D9F98472C61
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  7. src/math/bits/bits.go

    	y <<= s
    
    	const (
    		two32  = 1 << 32
    		mask32 = two32 - 1
    	)
    	yn1 := y >> 32
    	yn0 := y & mask32
    	un32 := hi<<s | lo>>(64-s)
    	un10 := lo << s
    	un1 := un10 >> 32
    	un0 := un10 & mask32
    	q1 := un32 / yn1
    	rhat := un32 - q1*yn1
    
    	for q1 >= two32 || q1*yn0 > two32*rhat+un1 {
    		q1--
    		rhat += yn1
    		if rhat >= two32 {
    			break
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/testdata/arith_test.go

    	var (
    		two4  int64 = 1 << 4
    		two15 int64 = 1 << 15
    		two26 int64 = 1 << 26
    		two34 int64 = 1 << 34
    		two48 int64 = 1 << 48
    		two57 int64 = 1 << 57
    	)
    	var xs = []int64{two4, two4 + 3, -3 * two4, -3*two4 + 1,
    		two15, two15 + 3, -3 * two15, -3*two15 + 1,
    		two26, two26 + 37, -5 * two26, -5*two26 + 2,
    		two34, two34 + 356, -7 * two34, -7*two34 + 13,
    		two48, two48 + 3000, -12 * two48, -12*two48 + 1111,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCompositeBuildIntegrationTest.groovy

            def oneProject = projectFile("one/one.vcxproj")
            def twoProject = projectFile("two/twoDll.vcxproj")
            def utilProject = projectFile("util/utilDll.vcxproj")
            def otherProject = projectFile("other/other.vcxproj")
    
            final mainSolution = solutionFile("app.sln")
            mainSolution.assertHasProjects("one", "twoDll", "utilDll", "other")
            mainSolution.assertReferencesProject(oneProject, projectConfigurations)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/math/lgamma.go

    		x = Mod(x, 2)
    		n = int(x * 4)
    	} else {
    		if x >= Two53 { // x must be even
    			x = 0
    			n = 0
    		} else {
    			if x < Two52 {
    				z = x + Two52 // exact
    			}
    			n = int(1 & Float64bits(z))
    			x = float64(n)
    			n <<= 2
    		}
    	}
    	switch n {
    	case 0:
    		x = Sin(Pi * x)
    	case 1, 2:
    		x = Cos(Pi * (0.5 - x))
    	case 3, 4:
    		x = Sin(Pi * (1 - x))
    	case 5, 6:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top