Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 519 for ffloat32 (0.16 sec)

  1. src/testing/quick/quick_test.go

    	reportError("fBool", CheckEqual(fBool, fBool, nil), t)
    	reportError("fBoolAlias", CheckEqual(fBoolAlias, fBoolAlias, nil), t)
    	reportError("fFloat32", CheckEqual(fFloat32, fFloat32, nil), t)
    	reportError("fFloat32Alias", CheckEqual(fFloat32Alias, fFloat32Alias, nil), t)
    	reportError("fFloat64", CheckEqual(fFloat64, fFloat64, nil), t)
    	reportError("fFloat64Alias", CheckEqual(fFloat64Alias, fFloat64Alias, nil), t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 9K bytes
    - Viewed (0)
  2. schema/field_test.go

    		{Name: "FLOAT32", DBName: "ffloat32", BindNames: []string{"FLOAT32"}, DataType: schema.Float, Creatable: true, Updatable: true, Readable: true, Size: 32, Tag: `gorm:"column:ffloat32"`},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprog/panicprint.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type MyBool bool
    type MyComplex128 complex128
    type MyComplex64 complex64
    type MyFloat32 float32
    type MyFloat64 float64
    type MyInt int
    type MyInt8 int8
    type MyInt16 int16
    type MyInt32 int32
    type MyInt64 int64
    type MyString string
    type MyUint uint
    type MyUint8 uint8
    type MyUint16 uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. test/codegen/math.go

    	// s390x:"MOV(B|BZ|D)\t[$]1,",-"FCMPU",-"MOV(B|BZ|D)\t[$]0,"
    	return float32(0.5) <= float32(int64(1)) && float32(1.5) >= float32(int32(-1<<31))
    }
    
    // Test that integer constants are converted to floating point constants
    // at compile-time
    
    func constantConvert32(x float32) float32 {
    	// amd64:"MOVSS\t[$]f32.3f800000\\(SB\\)"
    	// s390x:"FMOVS\t[$]f32.3f800000\\(SB\\)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/universe.go

    	name  string
    	etype Kind
    }{
    	{"int8", TINT8},
    	{"int16", TINT16},
    	{"int32", TINT32},
    	{"int64", TINT64},
    	{"uint8", TUINT8},
    	{"uint16", TUINT16},
    	{"uint32", TUINT32},
    	{"uint64", TUINT64},
    	{"float32", TFLOAT32},
    	{"float64", TFLOAT64},
    	{"complex64", TCOMPLEX64},
    	{"complex128", TCOMPLEX128},
    	{"bool", TBOOL},
    	{"string", TSTRING},
    }
    
    var typedefs = [...]struct {
    	name     string
    	etype    Kind
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/abiutils_test.go

    `)
    
    	abitest(t, ft, exp)
    }
    
    func TestABIUtilsBasic2(t *testing.T) {
    	// func(p1 int8, p2 int16, p3 int32, p4 int64,
    	//      p5 float32, p6 float32, p7 float64, p8 float64,
    	//      p9 int8, p10 int16, p11 int32, p12 int64,
    	//      p13 float32, p14 float32, p15 float64, p16 float64,
    	//      p17 complex128, p18 complex128, p19 complex12, p20 complex128,
    	//      p21 complex64, p22 int8, p23 in16, p24 int32, p25 int64,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go

    	"k8s.io/apimachinery/pkg/conversion/queryparams"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    type namedString string
    type namedBool bool
    
    type bar struct {
    	Float1   float32 `json:"float1"`
    	Float2   float64 `json:"float2"`
    	Int1     int64   `json:"int1,omitempty"`
    	Int2     int32   `json:"int2,omitempty"`
    	Int3     int16   `json:"int3,omitempty"`
    	Str1     string  `json:"str1,omitempty"`
    	Ignored  int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 03 07:01:02 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  8. src/encoding/xml/read_test.go

    	}
    }
    
    type ChildToEmbed struct {
    	X bool
    }
    
    type Parent struct {
    	I        int
    	IPtr     *int
    	Is       []int
    	IPtrs    []*int
    	F        float32
    	FPtr     *float32
    	Fs       []float32
    	FPtrs    []*float32
    	B        bool
    	BPtr     *bool
    	Bs       []bool
    	BPtrs    []*bool
    	Bytes    []byte
    	BytesPtr *[]byte
    	S        string
    	SPtr     *string
    	Ss       []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  9. src/reflect/all_test.go

    	if ovf := V(float32(0)).OverflowFloat(maxFloat32); ovf {
    		t.Errorf("%v wrongly overflows float32", maxFloat32)
    	}
    	ovfFloat32 := float64((1<<24-1)<<(127-23) + 1<<(127-52))
    	if ovf := V(float32(0)).OverflowFloat(ovfFloat32); !ovf {
    		t.Errorf("%v should overflow float32", ovfFloat32)
    	}
    	if ovf := V(float32(0)).OverflowFloat(-ovfFloat32); !ovf {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  10. src/math/rand/v2/rand.go

    	return float64(r.Uint64()<<11>>11) / (1 << 53)
    }
    
    // Float32 returns, as a float32, a pseudo-random number in the half-open interval [0.0,1.0).
    func (r *Rand) Float32() float32 {
    	// There are exactly 1<<24 float32s in [0,1). Use Intn(1<<24) / (1<<24).
    	return float32(r.Uint32()<<8>>8) / (1 << 24)
    }
    
    // Perm returns, as a slice of n ints, a pseudo-random permutation of the integers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top