Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,328 for FLOAT64 (0.12 sec)

  1. src/math/dim_asm.go

    // license that can be found in the LICENSE file.
    
    //go:build amd64 || arm64 || riscv64 || s390x
    
    package math
    
    const haveArchMax = true
    
    func archMax(x, y float64) float64
    
    const haveArchMin = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 344 bytes
    - Viewed (0)
  2. src/math/j1.go

    	2.32276469057162813669e+02, // 0x406D08D8D5A2DBD9
    	1.17679373287147100768e+02, // 0x405D6B7ADA1884A9
    	8.36463893371618283368e+00, // 0x4020BAB1F44E5192
    }
    
    func pone(x float64) float64 {
    	var p *[6]float64
    	var q *[5]float64
    	if x >= 8 {
    		p = &p1R8
    		q = &p1S8
    	} else if x >= 4.5454 {
    		p = &p1R5
    		q = &p1S5
    	} else if x >= 2.8571 {
    		p = &p1R3
    		q = &p1S3
    	} else if x >= 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  3. test/fixedbugs/bug409.go

    // license that can be found in the LICENSE file.
    
    // Multiple inlined calls to a function that causes
    // redundant address loads.
    
    package main
    
    func F(v [2]float64) [2]float64 {
    	return [2]float64{v[0], v[1]}
    }
    
    func main() {
    	a := F([2]float64{1, 2})
    	b := F([2]float64{3, 4})
    	println(a[0], a[1], b[0], b[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 432 bytes
    - Viewed (0)
  4. src/math/modf.go

    //
    // Special cases are:
    //
    //	Modf(±Inf) = ±Inf, NaN
    //	Modf(NaN) = NaN, NaN
    func Modf(f float64) (int float64, frac float64) {
    	if haveArchModf {
    		return archModf(f)
    	}
    	return modf(f)
    }
    
    func modf(f float64) (int float64, frac float64) {
    	if f < 1 {
    		switch {
    		case f < 0:
    			int, frac = Modf(-f)
    			return -int, -frac
    		case f == 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 913 bytes
    - Viewed (0)
  5. src/runtime/mgcpacer_test.go

    	// These are produced by the simulation, so int64 and
    	// float64 are more appropriate, so that we can check for
    	// bad states in the simulation.
    	heapScannable int64
    	gcUtilization float64
    }
    
    func (r *gcCycleResult) goalRatio() float64 {
    	return float64(r.heapPeak) / float64(r.heapGoal)
    }
    
    func (r *gcCycleResult) runway() float64 {
    	return float64(r.heapGoal - r.heapTrigger)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  6. test/fixedbugs/issue43619.go

    )
    
    //go:noinline
    func fcmplt(a, b float64, x uint64) uint64 {
    	if a < b {
    		x = 0
    	}
    	return x
    }
    
    //go:noinline
    func fcmple(a, b float64, x uint64) uint64 {
    	if a <= b {
    		x = 0
    	}
    	return x
    }
    
    //go:noinline
    func fcmpgt(a, b float64, x uint64) uint64 {
    	if a > b {
    		x = 0
    	}
    	return x
    }
    
    //go:noinline
    func fcmpge(a, b float64, x uint64) uint64 {
    	if a >= b {
    		x = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 14 17:23:11 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  7. src/math/rand/v2/regress_test.go

    	float64(0.6047654075331631),  // Float64()
    	float64(0.9278107175107462),  // Float64()
    	float64(0.16387541502137226), // Float64()
    	float64(0.7263900707339023),  // Float64()
    	float64(0.6974917552729882),  // Float64()
    	float64(0.7640946923790318),  // Float64()
    	float64(0.7188183661358182),  // Float64()
    	float64(0.5856191500346635),  // Float64()
    	float64(0.9549597149363428),  // Float64()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue41736.go

    //go:noinline
    func (c C) X() C {
    	cx := complex(imag(*c.x), real(*c.x))
    	return C{&cx}
    }
    
    //go:noinline
    func (d D) X() C {
    	cx := complex(float64(imag(d.x)), -float64(real(d.x)))
    	return C{&cx}
    }
    
    //go:noinline
    func (a A) X() C {
    	cx := complex(-float64(imag(*a[0])), float64(real(*a[0])))
    	return C{&cx}
    }
    
    //go:noinline
    func (i I) id() I {
    	return i
    }
    
    //go:noinline
    func (f F) id() F {
    	return f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 06 15:37:42 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  9. src/math/ldexp.go

    //
    // Special cases are:
    //
    //	Ldexp(±0, exp) = ±0
    //	Ldexp(±Inf, exp) = ±Inf
    //	Ldexp(NaN, exp) = NaN
    func Ldexp(frac float64, exp int) float64 {
    	if haveArchLdexp {
    		return archLdexp(frac, exp)
    	}
    	return ldexp(frac, exp)
    }
    
    func ldexp(frac float64, exp int) float64 {
    	// special cases
    	switch {
    	case frac == 0:
    		return frac // correctly return -0
    	case IsInf(frac, 0) || IsNaN(frac):
    		return frac
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. pkg/kubelet/metrics/collectors/resource_metrics.go

    	if s.CPU == nil || s.CPU.UsageCoreNanoSeconds == nil {
    		return
    	}
    
    	ch <- metrics.NewLazyMetricWithTimestamp(s.CPU.Time.Time,
    		metrics.NewLazyConstMetric(nodeCPUUsageDesc, metrics.CounterValue, float64(*s.CPU.UsageCoreNanoSeconds)/float64(time.Second)))
    }
    
    func (rc *resourceMetricsCollector) collectNodeMemoryMetrics(ch chan<- metrics.Metric, s summary.NodeStats) {
    	if s.Memory == nil || s.Memory.WorkingSetBytes == nil {
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 07:13:37 UTC 2023
    - 9.2K bytes
    - Viewed (2)
Back to top