docs(mathx): add godoc comment to Numerical type constraint (#5470)

This commit is contained in:
Amshith Nair
2026-03-21 20:55:37 +05:30
committed by GitHub
parent eb2302b71e
commit db3101361b

View File

@@ -1,5 +1,6 @@
package mathx
// Numerical is a constraint that permits any numeric type.
type Numerical interface {
~int | ~int8 | ~int16 | ~int32 | ~int64 |
~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 |