
Module: ppl/ppl Branch: master Commit: 66aac8e29c5c045bddb91b38950f624bee257dbd URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=66aac8e29c5c0...
Author: Roberto Bagnara bagnara@cs.unipr.it Date: Sun Oct 30 20:21:59 2011 +0100
Long lines avoided.
---
src/Boundary.defs.hh | 3 ++- src/Checked_Number.inlines.hh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/Boundary.defs.hh b/src/Boundary.defs.hh index 78ea517..b2d2c85 100644 --- a/src/Boundary.defs.hh +++ b/src/Boundary.defs.hh @@ -507,7 +507,8 @@ assign(Boundary_Type to_type, To& to, To_Info& to_info, } shrink = shrink || normal_is_open(type, x, info); bool check = (To_Info::check_inexact - || (!shrink && (To_Info::store_open || to_info.has_restriction()))); + || (!shrink && (To_Info::store_open + || to_info.has_restriction()))); Result r = assign_r(to, x, round_dir_check(to_type, check)); return adjust_boundary(to_type, to, to_info, shrink, r); } diff --git a/src/Checked_Number.inlines.hh b/src/Checked_Number.inlines.hh index 6cd8776..3504839 100644 --- a/src/Checked_Number.inlines.hh +++ b/src/Checked_Number.inlines.hh @@ -203,7 +203,8 @@ Checked_Number<T, Policy>::Checked_Number(const From&, typename Enable_If<Is_Spe }
template <typename To, typename From> -inline typename Enable_If<Is_Native_Or_Checked<To>::value && Is_Special<From>::value, Result>::type +inline typename Enable_If<Is_Native_Or_Checked<To>::value + && Is_Special<From>::value, Result>::type assign_r(To& to, const From&, Rounding_Dir dir) { return check_result(Checked::assign_special<typename Native_Checked_To_Wrapper<To> ::Policy>(Native_Checked_To_Wrapper<To>::raw_value(to),