()
| 32 | } |
| 33 | |
| 34 | func (n Number) IsInf() bool { |
| 35 | return math.IsInf(float64(n), 0) |
| 36 | } |
| 37 | |
| 38 | func isNonFinite(x float64) bool { |
| 39 | // This is equivalent to checking `math.IsNaN(x) || math.IsInf(x, 0)` in one operation. |
no outgoing calls
no test coverage detected