summaryrefslogtreecommitdiff
path: root/src/theory/arith/delta_rational.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/delta_rational.cpp')
-rw-r--r--src/theory/arith/delta_rational.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/theory/arith/delta_rational.cpp b/src/theory/arith/delta_rational.cpp
index a334e2c3d..39b99d625 100644
--- a/src/theory/arith/delta_rational.cpp
+++ b/src/theory/arith/delta_rational.cpp
@@ -83,23 +83,23 @@ DeltaRationalException::DeltaRationalException(const char* op, const DeltaRation
DeltaRationalException::~DeltaRationalException() throw () { }
-Integer DeltaRational::floorDivideQuotient(const DeltaRational& y) const throw(DeltaRationalException){
+Integer DeltaRational::euclidianDivideQuotient(const DeltaRational& y) const throw(DeltaRationalException){
if(isIntegral() && y.isIntegral()){
Integer ti = floor();
Integer yi = y.floor();
- return ti.floorDivideQuotient(yi);
+ return ti.euclidianDivideQuotient(yi);
}else{
- throw DeltaRationalException("floorDivideQuotient", *this, y);
+ throw DeltaRationalException("euclidianDivideQuotient", *this, y);
}
}
-Integer DeltaRational::floorDivideRemainder(const DeltaRational& y) const throw(DeltaRationalException){
+Integer DeltaRational::euclidianDivideRemainder(const DeltaRational& y) const throw(DeltaRationalException){
if(isIntegral() && y.isIntegral()){
Integer ti = floor();
Integer yi = y.floor();
- return ti.floorDivideRemainder(yi);
+ return ti.euclidianDivideRemainder(yi);
}else{
- throw DeltaRationalException("floorDivideRemainder", *this, y);
+ throw DeltaRationalException("euclidianDivideRemainder", *this, y);
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback