Number is a generic type constraint for all numeric types in Go except Complex types.
| 26 | |
| 27 | // Number is a generic type constraint for all numeric types in Go except Complex types. |
| 28 | type Number interface { |
| 29 | Integer | Float |
| 30 | } |
| 31 | |
| 32 | // Ordered is a generic type constraint for all ordered data types in Go. |
| 33 | // Loosely speaking, in mathematics a field is an ordered field if there is a "total |
nothing calls this directly
no outgoing calls
no test coverage detected