asm/c128: Adding tests and benchmarks for dot functions.
MODIFY
internal/asm/c128/util_test.go
internal/asm/c128/util_test.go
@@ -14,6 +14,10 @@ const (
msgGuard = "%v: Guard violated in %s vector %v %v"
)
+var (
+ inf = math.Inf(1)
+)
+
func same(x, y complex128) bool {
return (x == y ||
math.IsNaN(real(x)) && math.IsNaN(real(y)) && imag(x) == imag(y) ||

asm/c128: Adding tests and benchmarks for dot functions.