[GIT] ppl/ppl(floating_point): Fixed a few typos.

Module: ppl/ppl Branch: floating_point Commit: 10f41f9fa996403db40dc630acebf6cfce7705c0 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=10f41f9fa9964...
Author: Fabio Bossi bossi@cs.unipr.it Date: Thu Sep 3 16:06:26 2009 +0200
Fixed a few typos.
---
...fference_Floating_Point_Expression.templates.hh | 2 +- ...Division_Floating_Point_Expression.templates.hh | 2 +- ...lication_Floating_Point_Expression.templates.hh | 2 +- src/Sum_Floating_Point_Expression.templates.hh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/Difference_Floating_Point_Expression.templates.hh b/src/Difference_Floating_Point_Expression.templates.hh index 43c0bf6..3508767 100644 --- a/src/Difference_Floating_Point_Expression.templates.hh +++ b/src/Difference_Floating_Point_Expression.templates.hh @@ -35,7 +35,7 @@ typename Difference_Floating_Point_Expression<FP_Interval_Type, FP_Format> ::linearize(const FP_Interval_Abstract_Store& store) const { FP_Linear_Form linearized_first_operand = first_operand->linearize(store); FP_Linear_Form linearized_second_operand = second_operand->linearize(store); - FP_Interval abs_error = FP_Interval_Type(-absolute_error); + FP_Interval_Type abs_error = FP_Interval_Type(-absolute_error); // FIXME: this may be incorrect for some policies. abs_error.join_assign(absolute_error); FP_Linear_Form result = linearized_first_operand - linearized_second_operand + diff --git a/src/Division_Floating_Point_Expression.templates.hh b/src/Division_Floating_Point_Expression.templates.hh index ff2b8b0..08eb2c9 100644 --- a/src/Division_Floating_Point_Expression.templates.hh +++ b/src/Division_Floating_Point_Expression.templates.hh @@ -42,7 +42,7 @@ typename Division_Floating_Point_Expression<FP_Interval_Type, FP_Format> throw Linearization_Failed();
FP_Linear_Form linearized_first_operand = first_operand->linearize(store); - FP_Interval abs_error = FP_Interval_Type(-absolute_error); + FP_Interval_Type abs_error = FP_Interval_Type(-absolute_error); // FIXME: this may be incorrect for some policies. abs_error.join_assign(absolute_error); FP_Linear_Form result = linearized_first_operand / intervalized_second_operand diff --git a/src/Multiplication_Floating_Point_Expression.templates.hh b/src/Multiplication_Floating_Point_Expression.templates.hh index 36cd274..317ede2 100644 --- a/src/Multiplication_Floating_Point_Expression.templates.hh +++ b/src/Multiplication_Floating_Point_Expression.templates.hh @@ -75,7 +75,7 @@ typename Multiplication_Floating_Point_Expression<FP_Interval_Type, FP_Format>
// Here we do the actual computation. FP_Linear_Form result; - FP_Interval abs_error = FP_Interval_Type(-absolute_error); + FP_Interval_Type abs_error = FP_Interval_Type(-absolute_error); // FIXME: this may be incorrect for some policies. abs_error.join_assign(absolute_error); if (intervalize_first) { diff --git a/src/Sum_Floating_Point_Expression.templates.hh b/src/Sum_Floating_Point_Expression.templates.hh index 5b53b44..afc30d3 100644 --- a/src/Sum_Floating_Point_Expression.templates.hh +++ b/src/Sum_Floating_Point_Expression.templates.hh @@ -34,7 +34,7 @@ typename Sum_Floating_Point_Expression<FP_Interval_Type, FP_Format> ::linearize(const FP_Interval_Abstract_Store& store) const { FP_Linear_Form linearized_first_operand = first_operand->linearize(store); FP_Linear_Form linearized_second_operand = second_operand->linearize(store); - FP_Interval abs_error = FP_Interval_Type(-absolute_error); + FP_Interval_Type abs_error = FP_Interval_Type(-absolute_error); // FIXME: this may be incorrect for some policies. abs_error.join_assign(absolute_error); FP_Linear_Form result = linearized_first_operand + linearized_second_operand +
participants (1)
-
Fabio Bossi