Float is a generic type constraint for all floating point types.
| 21 | |
| 22 | // Float is a generic type constraint for all floating point types. |
| 23 | type Float interface { |
| 24 | ~float32 | ~float64 |
| 25 | } |
| 26 | |
| 27 | // Number is a generic type constraint for all numeric types in Go except Complex types. |
| 28 | type Number interface { |
nothing calls this directly
no outgoing calls
no test coverage detected