go/src/cmd/compile/internal/test/float_test.go

//go:noinline
func compare1(a, b float64) bool {}

//go:noinline
func compare2(a, b float32) bool {}

func TestFloatCompare(t *testing.T) {}

func TestFloatCompareFolded(t *testing.T) {}

//go:noinline
func cvt1(a float64) uint64 {}

//go:noinline
func cvt2(a float64) uint32 {}

//go:noinline
func cvt3(a float32) uint64 {}

//go:noinline
func cvt4(a float32) uint32 {}

//go:noinline
func cvt5(a float64) int64 {}

//go:noinline
func cvt6(a float64) int32 {}

//go:noinline
func cvt7(a float32) int64 {}

//go:noinline
func cvt8(a float32) int32 {}

// make sure to cover int, uint cases (issue #16738)
//
//go:noinline
func cvt9(a float64) int {}

//go:noinline
func cvt10(a float64) uint {}

//go:noinline
func cvt11(a float32) int {}

//go:noinline
func cvt12(a float32) uint {}

//go:noinline
func f2i64p(v float64) *int64 {}

//go:noinline
func ip64(v int64) *int64 {}

func TestFloatConvert(t *testing.T) {}

func TestFloatConvertFolded(t *testing.T) {}

func TestFloat32StoreToLoadConstantFold(t *testing.T) {}

const snan32bits

const snan64bits

var snan32bitsVar

var snan64bitsVar

func TestFloatSignalingNaN(t *testing.T) {}

func TestFloatSignalingNaNConversion(t *testing.T) {}

func TestFloatSignalingNaNConversionConst(t *testing.T) {}

var sinkFloat

func BenchmarkMul2(b *testing.B) {}

func BenchmarkMulNeg2(b *testing.B) {}