@@ -340,7 +340,7 @@ public BitvectorFormula rotateLeft(BitvectorFormula pNumber, BitvectorFormula pT
340340 protected TFormulaInfo rotateLeft (TFormulaInfo pNumber , TFormulaInfo pToRotate ) {
341341 int length = getLength (wrap (pNumber ));
342342 final TFormulaInfo lengthAsBv = makeBitvectorImpl (length , length );
343- final TFormulaInfo toRotateInRange = smodulo (pToRotate , lengthAsBv );
343+ final TFormulaInfo toRotateInRange = remainder (pToRotate , lengthAsBv , false );
344344 return or (
345345 shiftLeft (pNumber , toRotateInRange ),
346346 shiftRight (pNumber , subtract (lengthAsBv , toRotateInRange ), false ));
@@ -373,7 +373,7 @@ public BitvectorFormula rotateRight(BitvectorFormula pNumber, BitvectorFormula p
373373 protected TFormulaInfo rotateRight (TFormulaInfo pNumber , TFormulaInfo pToRotate ) {
374374 int length = getLength (wrap (pNumber ));
375375 final TFormulaInfo lengthAsBv = makeBitvectorImpl (length , length );
376- final TFormulaInfo toRotateInRange = smodulo (pToRotate , lengthAsBv );
376+ final TFormulaInfo toRotateInRange = remainder (pToRotate , lengthAsBv , false );
377377 return or (
378378 shiftRight (pNumber , toRotateInRange , false ),
379379 shiftLeft (pNumber , subtract (lengthAsBv , toRotateInRange )));
0 commit comments