| 2046 | } |
| 2047 | |
| 2048 | int decimal_cmp(const decimal_t *from1, const decimal_t *from2) |
| 2049 | { |
| 2050 | if (likely(from1->sign == from2->sign)) |
| 2051 | return do_sub(from1, from2, 0); |
| 2052 | return from1->sign > from2->sign ? -1 : 1; |
| 2053 | } |
| 2054 | |
| 2055 | int decimal_is_zero(const decimal_t *from) |
| 2056 | { |
no test coverage detected