void zero()
{
- version(MEMCPY_NON_SIG_SAFE) {
- uint * d1=data+1,dEnd=d1+nwords;
- for (;d1!=dEnd;++d1)
- *d1=0u;
- } else {
- cstring.memset(data + 1, 0, nwords * uint.sizeof);
- }
+ cstring.memset(data + 1, 0, nwords * uint.sizeof);
}
void copy(GCBits *f)
}
body
{
- version(MEMCPY_NON_SIG_SAFE) {
- uint * d1=data+1,d2=f.data+1,dEnd=d1+nwords;
- for (;d1!=dEnd;++d1,++d2)
- *d1=*d2;
- } else {
- cstring.memcpy(data + 1, f.data + 1, nwords * uint.sizeof);
- }
+ cstring.memcpy(data + 1, f.data + 1, nwords * uint.sizeof);
}
uint* base()