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