Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,328 for FLOAT64 (0.13 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/json/json_test.go

    				false,
    				int64(0),
    				int64(math.MaxInt64),
    				float64(0.0),
    				float64(0.5),
    				float64(1.0),
    				float64(math.MaxFloat64),
    				string("0"),
    				string("A"),
    				string("Iñtërnâtiônàlizætiøn"),
    				[]interface{}{nil, true, int64(1), float64(1.0), float64(1.5)},
    				map[string]interface{}{"nullkey": nil, "boolkey": true, "intkey": int64(1), "floatkey": float64(1.0)},
    			},
    			Out: `[` + strings.Join([]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 28 08:02:09 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  2. src/math/j0.go

    	2.70470278658083486789e+02, // 0x4070E78642EA079B
    	1.53875394208320329881e+02, // 0x40633C033AB6FAFF
    	1.46576176948256193810e+01, // 0x402D50B344391809
    }
    
    func pzero(x float64) float64 {
    	var p *[6]float64
    	var q *[5]float64
    	if x >= 8 {
    		p = &p0R8
    		q = &p0S8
    	} else if x >= 4.5454 {
    		p = &p0R5
    		q = &p0S5
    	} else if x >= 2.8571 {
    		p = &p0R3
    		q = &p0S3
    	} else if x >= 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 13.6K bytes
    - Viewed (0)
  3. 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)
  4. test/fixedbugs/bug331.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "io"
    
    func f() (_ string, x float64, err error) {
    	return
    }
    
    func g() (_ string, x float64, err error) {
    	return "hello", 3.14, io.EOF
    }
    
    var _ func() (string, float64, error) = f
    var _ func() (string, float64, error) = g
    
    func main() {
    	x, y, z := g()
    	if x != "hello" || y != 3.14 || z != io.EOF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 804 bytes
    - Viewed (0)
  5. 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)
  6. test/fixedbugs/issue7044.go

    	// Use all 16 registers to do float32 --> float64 conversion.
    	d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15 :=
    		float64(f0), float64(f1), float64(f2), float64(f3), float64(f4), float64(f5), float64(f6), float64(f7), float64(f8), float64(f9), float64(f10), float64(f11), float64(f12), float64(f13), float64(f14), float64(f15)
    	// Use all 16 registers to do float64 --> float32 conversion.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.2K bytes
    - Viewed (0)
  7. test/append.go

    	{"float64 a", append([]float64{}), []float64{}},
    	{"float64 b", append([]float64{}, 0), []float64{0}},
    	{"float64 c", append([]float64{}, 0, 1, 2, 3), []float64{0, 1, 2, 3}},
    
    	{"float64 d", append([]float64{0, 1, 2}), []float64{0, 1, 2}},
    	{"float64 e", append([]float64{0, 1, 2}, 3), []float64{0, 1, 2, 3}},
    	{"float64 f", append([]float64{0, 1, 2}, 3, 4, 5), []float64{0, 1, 2, 3, 4, 5}},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 06 04:28:23 UTC 2018
    - 9.1K bytes
    - Viewed (0)
  8. test/fixedbugs/issue53454.go

    	D T4
    }
    
    type T2 struct {
    	T3
    	A float64
    	E float64
    	C float64
    }
    
    type T3 struct {
    	F float64
    	G float64
    	H float64
    	I float64
    	J float64
    	K float64
    	L float64
    }
    
    type T4 struct {
    	M float64
    	N float64
    	O float64
    	P float64
    }
    
    type T5 struct {
    	Q float64
    	R float64
    	S float64
    	T float64
    	U float64
    	V float64
    }
    
    type T6 struct {
    	T9
    	C T10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 21 17:23:40 UTC 2022
    - 1002 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/integrator.go

    	Reset() IntegratorResults
    }
    
    // IntegratorResults holds statistical abstracts of the integration
    type IntegratorResults struct {
    	Duration  float64 //seconds
    	Average   float64 //time-weighted
    	Deviation float64 //standard deviation: sqrt(avg((value-avg)^2))
    	Min, Max  float64
    }
    
    // Equal tests for semantic equality.
    // This considers all NaN values to be equal to each other.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 17:37:20 UTC 2022
    - 5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue12577.go

    )
    
    var (
    	x0 float32 = z0
    	x1 float32 = z1
    	x2 float32 = z2
    	x3 float32 = z3
    
    	y0 float64 = z0
    	y1 float64 = z1
    	y2 float64 = z2
    	y3 float64 = z3
    )
    
    func test32(f float32) {
    	if f != 0 || math.Signbit(float64(f)) {
    		println("BUG: got", f, "want 0.0")
    		return
    	}
    }
    
    func test64(f float64) {
    	if f != 0 || math.Signbit(f) {
    		println("BUG: got", f, "want 0.0")
    		return
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 22:11:11 UTC 2015
    - 1011 bytes
    - Viewed (0)
Back to top