(result *BigInt, neg bool, half int)
| 169 | } |
| 170 | |
| 171 | func round05Up(result *BigInt, neg bool, half int) bool { |
| 172 | var z BigInt |
| 173 | z.Rem(result, bigFive) |
| 174 | if z.Sign() == 0 { |
| 175 | return true |
| 176 | } |
| 177 | z.Rem(result, bigTen) |
| 178 | return z.Sign() == 0 |
| 179 | } |
| 180 | |
| 181 | func roundHalfUp(result *BigInt, neg bool, half int) bool { |
| 182 | return half >= 0 |
no test coverage detected
searching dependent graphs…