Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for FLOAT64 (0.12 sec)

  1. test/fuse.go

    func fLessLeq(a float64, f float64) bool {
    	return a < 0 && f > Cf2 || a <= 0 && f < -Cf2
    }
    
    func fLeqEq(a float64, f float64) bool {
    	return a <= 0 && f > Cf2 || a == 0 && f < -Cf2
    }
    
    func fLeqNeq(a int16, f float64) bool {
    	return a <= 0 && f > Cf2 || a != 0 && f < -Cf2 // ERROR "Redirect Neq16 based on Leq16$"
    }
    
    func fLeqLess(a float32, f float64) bool {
    	return a <= 0 && f > Cf2 || a < 0 && f < -Cf2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/math/rand/v2/zipf.go

    type Zipf struct {
    	r            *Rand
    	imax         float64
    	v            float64
    	q            float64
    	s            float64
    	oneminusQ    float64
    	oneminusQinv float64
    	hxm          float64
    	hx0minusHxm  float64
    }
    
    func (z *Zipf) h(x float64) float64 {
    	return math.Exp(z.oneminusQ*math.Log(z.v+x)) * z.oneminusQinv
    }
    
    func (z *Zipf) hinv(x float64) float64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 14:29:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/math/log10.go

    // The special cases are the same as for [Log].
    func Log10(x float64) float64 {
    	if haveArchLog10 {
    		return archLog10(x)
    	}
    	return log10(x)
    }
    
    func log10(x float64) float64 {
    	return Log(x) * (1 / Ln10)
    }
    
    // Log2 returns the binary logarithm of x.
    // The special cases are the same as for [Log].
    func Log2(x float64) float64 {
    	if haveArchLog2 {
    		return archLog2(x)
    	}
    	return log2(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 873 bytes
    - Viewed (0)
  4. test/codegen/floats.go

    //    Strength-reduce    //
    // --------------------- //
    
    func Mul2(f float64) float64 {
    	// 386/sse2:"ADDSD",-"MULSD"
    	// amd64:"ADDSD",-"MULSD"
    	// arm/7:"ADDD",-"MULD"
    	// arm64:"FADDD",-"FMULD"
    	// ppc64x:"FADD",-"FMUL"
    	// riscv64:"FADDD",-"FMULD"
    	return f * 2.0
    }
    
    func DivPow2(f1, f2, f3 float64) (float64, float64, float64) {
    	// 386/sse2:"MULSD",-"DIVSD"
    	// amd64:"MULSD",-"DIVSD"
    	// arm/7:"MULD",-"DIVD"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. test/codegen/math.go

    }
    
    func fma(x, y, z float64) float64 {
    	// amd64/v3:-".*x86HasFMA"
    	// amd64:"VFMADD231SD"
    	// arm/6:"FMULAD"
    	// arm64:"FMADDD"
    	// s390x:"FMADD"
    	// ppc64x:"FMADD"
    	// riscv64:"FMADDD"
    	return math.FMA(x, y, z)
    }
    
    func fms(x, y, z float64) float64 {
    	// riscv64:"FMSUBD"
    	return math.FMA(x, y, -z)
    }
    
    func fnms(x, y, z float64) float64 {
    	// riscv64:"FNMSUBD",-"FNMADDD"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. cmd/metrics-v3-cluster-health.go

    	storageInfo := clusterDriveMetrics.storageInfo
    
    	m.Set(healthCapacityRawTotalBytes, float64(GetTotalCapacity(storageInfo.Disks)))
    	m.Set(healthCapacityRawFreeBytes, float64(GetTotalCapacityFree(storageInfo.Disks)))
    	m.Set(healthCapacityUsableTotalBytes, float64(GetTotalUsableCapacity(storageInfo.Disks, storageInfo)))
    	m.Set(healthCapacityUsableFreeBytes, float64(GetTotalUsableCapacityFree(storageInfo.Disks, storageInfo)))
    
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/math/floor_riscv64.s

    	/* rounding will drop signed bit in RISCV, restore it */; \
    	FSGNJD	F0, F1, F0;	\
    	MOVD	F0, ret+8(FP); 	\
    	RET
    
    // func archFloor(x float64) float64
    ROUNDFN(·archFloor, RDN)
    
    // func archCeil(x float64) float64
    ROUNDFN(·archCeil, RUP)
    
    // func archTrunc(x float64) float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 08:34:12 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. src/internal/trace/gc_test.go

    		window time.Duration
    		want   float64
    		worst  []float64
    	}{
    		{0, 0, []float64{}},
    		{time.Millisecond, 0, []float64{0, 0}},
    		{time.Second, 0, []float64{0, 0}},
    		{2 * time.Second, 0.5, []float64{0.5, 0.5}},
    		{3 * time.Second, 1 / 3.0, []float64{1 / 3.0}},
    		{4 * time.Second, 0.5, []float64{0.5}},
    		{5 * time.Second, 3 / 5.0, []float64{3 / 5.0}},
    		{6 * time.Second, 3 / 5.0, []float64{3 / 5.0}},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/runtime/metrics/value.go

    	if v.kind != KindUint64 {
    		panic("called Uint64 on non-uint64 metric value")
    	}
    	return v.scalar
    }
    
    // Float64 returns the internal float64 value for the metric.
    //
    // If v.Kind() != KindFloat64, this method panics.
    func (v Value) Float64() float64 {
    	if v.kind != KindFloat64 {
    		panic("called Float64 on non-float64 metric value")
    	}
    	return math.Float64frombits(v.scalar)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. cmd/metrics-v3-system-memory.go

    		return err
    	}
    
    	m.Set(memTotal, float64(memMetrics.Total))
    	m.Set(memUsed, float64(memMetrics.Used))
    	usedPerc := float64(memMetrics.Used) * 100 / float64(memMetrics.Total)
    	m.Set(memUsedPerc, usedPerc)
    	m.Set(memFree, float64(memMetrics.Free))
    	m.Set(memBuffers, float64(memMetrics.Buffers))
    	m.Set(memCache, float64(memMetrics.Cache))
    	m.Set(memShared, float64(memMetrics.Shared))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 17 05:10:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top