| 122 | |
| 123 | template <unsigned int BITS> |
| 124 | bool base_uint<BITS>::EqualTo(uint64_t b) const |
| 125 | { |
| 126 | for (int i = WIDTH - 1; i >= 2; i--) { |
| 127 | if (pn[i]) |
| 128 | return false; |
| 129 | } |
| 130 | if (pn[1] != (b >> 32)) |
| 131 | return false; |
| 132 | if (pn[0] != (b & 0xfffffffful)) |
| 133 | return false; |
| 134 | return true; |
| 135 | } |
| 136 | |
| 137 | template <unsigned int BITS> |
| 138 | double base_uint<BITS>::getdouble() const |
no outgoing calls
no test coverage detected