| 214 | data=value<<1; |
| 215 | } |
| 216 | void alloc(int nlimbs)//one limb is added since that will tell the number of remaining limbs |
| 217 | { |
| 218 | int64_t temp=(int64_t)malloc((nlimbs+1)*limbSizeInBytes); |
| 219 | assert(temp); |
| 220 | data=temp+1; |
| 221 | } |
| 222 | LimbWord *limbs()//assuming that limbs exist |
| 223 | { |
| 224 | return (LimbWord*)(data-1); |