Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 271 for ffloat32 (0.23 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. test/float_lit2.go

    	{0x7f7fffff, float32(max32), float32(max32 - ulp32/2 + ulp32/two64), "max32 - ulp32/2 + ulp32/two64"},
    	{0x7f7fffff, float32(max32), float32(max32), "max32"},
    	{0x7f7fffff, float32(max32), float32(max32 + ulp32/2 - ulp32/two64), "max32 + ulp32/2 - ulp32/two64"},
    
    	{0xff7ffffe, float32(-(max32 - ulp32)), float32(-(max32 - ulp32 - ulp32/2)), "-(max32 - ulp32 - ulp32/2)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:39:47 UTC 2016
    - 7.9K bytes
    - Viewed (0)
  7. test/codegen/floats.go

    	return x, y, z
    }
    
    func indexLoad(b0 []float32, b1 float32, idx int) float32 {
    	// arm64:`FMOVS\s\(R[0-9]+\)\(R[0-9]+<<2\),\sF[0-9]+`
    	return b0[idx] * b1
    }
    
    func indexStore(b0 []float64, b1 float64, idx int) {
    	// arm64:`FMOVD\sF[0-9]+,\s\(R[0-9]+\)\(R[0-9]+<<3\)`
    	b0[idx] = b1
    }
    
    // ----------- //
    //    Fused    //
    // ----------- //
    
    func FusedAdd32(x, y, z float32) float32 {
    	// s390x:"FMADDS\t"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/strconv/testdata/testfp.txt

    float32 %.0e 16093626p+69 1e+28
    float32 %.1e 9983778p+25 3.4e+14
    float32 %.2e 12745034p+104 2.59e+38
    float32 %.3e 12706553p+72 6.001e+28
    float32 %.4e 11005028p+45 3.8721e+20
    float32 %.5e 15059547p+71 3.55584e+28
    float32 %.6e 16015691p-99 2.526831e-23
    float32 %.7e 8667859p+56 6.2458507e+23
    float32 %.8e 14855922p-82 3.07213267e-18
    float32 %.9e 14855922p-83 1.536066333e-18
    float32 %.10e 10144164p-110 7.8147796834e-27
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 7.9K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/testdata/exports.go

    	T8  struct{}
    	T9  struct {
    		a    int
    		b, c float32
    		d    []string `go:"tag"`
    	}
    	T10 struct {
    		T8
    		T9
    		_ *T10
    	}
    	T11 map[int]string
    	T12 any
    	T13 interface {
    		m1()
    		m2(int) float32
    	}
    	T14 interface {
    		T12
    		T13
    		m3(x ...struct{}) []T9
    	}
    	T15 func()
    	T16 func(int)
    	T17 func(x int)
    	T18 func() float32
    	T19 func() (x float32)
    	T20 func(...any)
    	T21 struct{ next *T21 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue11945.go

    	_ int = real(2.0)
    	_ int = real(3i)
    
    	_ float32 = real(1)
    	_ float32 = real('a')
    	_ float32 = real(2.1)
    	_ float32 = real(3.2i)
    
    	_ float64 = real(1)
    	_ float64 = real('a')
    	_ float64 = real(2.1)
    	_ float64 = real(3.2i)
    
    	_ int = imag(1)
    	_ int = imag('a')
    	_ int = imag(2.1 + 3i)
    	_ int = imag(3i)
    
    	_ float32 = imag(1)
    	_ float32 = imag('a')
    	_ float32 = imag(2.1 + 3.1i)
    	_ float32 = imag(3i)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 26 01:50:30 UTC 2021
    - 1.6K bytes
    - Viewed (0)
Back to top