| 401 | } |
| 402 | |
| 403 | int Int128::toInteger(int scale) const |
| 404 | { |
| 405 | Int128 tmp(*this); |
| 406 | tmp.setScale(scale); |
| 407 | int rc; |
| 408 | if (tmp.v.ToInt(rc)) |
| 409 | overflow(); |
| 410 | return rc; |
| 411 | } |
| 412 | |
| 413 | void Int128::toString(int scale, unsigned length, char* to) const |
| 414 | { |
no test coverage detected