True iff the type id is encoded as a float encoding. XXX add IDDecimal here when we implement coercible math with it.
(id int)
| 170 | // True iff the type id is encoded as a float encoding. |
| 171 | // XXX add IDDecimal here when we implement coercible math with it. |
| 172 | func IsFloat(id int) bool { |
| 173 | return id >= IDFloat16 && id <= IDFloat256 |
| 174 | } |
| 175 | |
| 176 | // True iff the type id is encoded as a number encoding and is signed. |
| 177 | func IsSigned(id int) bool { |
no outgoing calls
no test coverage detected