// Copyright 2025 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build goexperiment.simd && amd64

package archsimd

import (
	
)

type number interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64
}

func sliceToString[ number]( []) string {
	 := ""
	 := "{"
	for ,  := range  {
		 += 
		 = ","
		switch e := any().(type) {
		case int8:
			 += strconv.Itoa(int())
		case int16:
			 += strconv.Itoa(int())
		case int32:
			 += strconv.Itoa(int())
		case int64:
			 += strconv.Itoa(int())
		case uint8:
			 += strconv.FormatUint(uint64(), 10)
		case uint16:
			 += strconv.FormatUint(uint64(), 10)
		case uint32:
			 += strconv.FormatUint(uint64(), 10)
		case uint64:
			 += strconv.FormatUint(uint64(), 10)
		case float32:
			 += strconv.FormatFloat(float64(), 'g', -1, 32)
		case float64:
			 += strconv.FormatFloat(, 'g', -1, 64)
		}
	}
	 += "}"
	return 
}