rotate 2309 src/decNumber/decNumber.c Int rotate; // rhs as an Int rotate 2318 src/decNumber/decNumber.c rotate=decGetInt(rhs); // [cannot fail] rotate 2319 src/decNumber/decNumber.c if (rotate==BADINT // something bad .. rotate 2320 src/decNumber/decNumber.c || rotate==BIGODD || rotate==BIGEVEN // .. very big .. rotate 2321 src/decNumber/decNumber.c || abs(rotate)>set->digits) // .. or out of range rotate 2327 src/decNumber/decNumber.c if (rotate<0) rotate=set->digits+rotate; rotate 2328 src/decNumber/decNumber.c if (rotate!=0 && rotate!=set->digits // zero or full rotation rotate 2370 src/decNumber/decNumber.c rotate=set->digits-rotate; // make it right-rotate rotate 2371 src/decNumber/decNumber.c units=rotate/DECDPUN; // whole units to rotate rotate 2372 src/decNumber/decNumber.c shift=rotate%DECDPUN; // left-over digits count