(d, x *Decimal)
| 1216 | } |
| 1217 | |
| 1218 | func (c *Context) toIntegral(d, x *Decimal) Condition { |
| 1219 | res := c.quantize(d, x, 0) |
| 1220 | return res |
| 1221 | } |
| 1222 | |
| 1223 | func (c *Context) toIntegralSpecials(d, x *Decimal) (bool, Condition, error) { |
| 1224 | if c.shouldSetAsNaN(x, nil) { |
no test coverage detected