Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 519 for ffloat32 (0.12 sec)

  1. 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)
  2. src/cmd/compile/internal/test/float_test.go

    		t.Errorf("float64(i8) != di8")
    	}
    	if float32(u64) != su64 {
    		t.Errorf("float32(u64) != su64")
    	}
    	if float32(u32) != su32 {
    		t.Errorf("float32(u32) != su32")
    	}
    	if float32(u16) != su16 {
    		t.Errorf("float32(u16) != su16")
    	}
    	if float32(u8) != su8 {
    		t.Errorf("float32(u8) != su8")
    	}
    	if float32(i64) != si64 {
    		t.Errorf("float32(i64) != si64")
    	}
    	if float32(i32) != si32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/math/rand/regress_test.go

    	float32(0.16735445),                 // Float32()
    	float32(0.28858566),                 // Float32()
    	float32(0.9026048),                  // Float32()
    	float32(0.84978026),                 // Float32()
    	float32(0.2730468),                  // Float32()
    	float32(0.6090802),                  // Float32()
    	float32(0.253656),                   // Float32()
    	float32(0.7746542),                  // Float32()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/config.go

    	t.UInt8 = types.Types[types.TUINT8]
    	t.UInt16 = types.Types[types.TUINT16]
    	t.UInt32 = types.Types[types.TUINT32]
    	t.UInt64 = types.Types[types.TUINT64]
    	t.Int = types.Types[types.TINT]
    	t.Float32 = types.Types[types.TFLOAT32]
    	t.Float64 = types.Types[types.TFLOAT64]
    	t.UInt = types.Types[types.TUINT]
    	t.Uintptr = types.Types[types.TUINTPTR]
    	t.String = types.Types[types.TSTRING]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. src/go/types/builtins_test.go

    	{"max", `var x int    ; _ = max(0, x     )`, `func(int, int) int`},
    	{"max", `var x string ; _ = max("a", x   )`, `func(string, string) string`},
    	{"max", `var x float32; _ = max(0, 1.0, x)`, `func(float32, float32, float32) float32`},
    
    	{"min", `               _ = min(0        )`, `invalid type`}, // constant
    	{"min", `var x int    ; _ = min(x        )`, `func(int) int`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/testdata/fp_test.go

    }
    
    //go:noinline
    func add32_ssa(a, b float32) float32 {
    	return a + b
    }
    
    //go:noinline
    func mul32_ssa(a, b float32) float32 {
    	return a * b
    }
    
    //go:noinline
    func sub32_ssa(a, b float32) float32 {
    	return a - b
    }
    
    //go:noinline
    func div32_ssa(a, b float32) float32 {
    	return a / b
    }
    
    //go:noinline
    func neg32_ssa(a, b float32) float32 {
    	return -a + -1*b
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 35K 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