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