| 127 | |
| 128 | template <unsigned int BITS> |
| 129 | double base_uint<BITS>::getdouble() const |
| 130 | { |
| 131 | double ret = 0.0; |
| 132 | double fact = 1.0; |
| 133 | for (int i = 0; i < WIDTH; i++) { |
| 134 | ret += fact * pn[i]; |
| 135 | fact *= 4294967296.0; |
| 136 | } |
| 137 | return ret; |
| 138 | } |
| 139 | |
| 140 | template <unsigned int BITS> |
| 141 | std::string base_uint<BITS>::GetHex() const |
no outgoing calls