debug of obimultiplex

Former-commit-id: 1cf276840feb9d6135d96bd1bf63627d3085ae6e
This commit is contained in:
Eric Coissac committed 2024-06-18 23:38:33 +02:00
1 parent 44533fb61e
commit a812fe8b72
9 files changed
+468 -50

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
package obiutils
import "golang.org/x/exp/constraints"
func Abs[T constraints.Signed](x T) T {
if x < 0 {
return -x
}
return x
}