From e9bc3893a005cd55ff3f60f68be404727409c4e6 Mon Sep 17 00:00:00 2001 From: Fernando Cacciola Date: Tue, 8 Apr 2008 19:40:54 +0000 Subject: [PATCH] Merged removal of unnecessary cast for SunPro --- .../include/CGAL/constructions/Straight_skeleton_cons_ftC2.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Straight_skeleton_2/include/CGAL/constructions/Straight_skeleton_cons_ftC2.h b/Straight_skeleton_2/include/CGAL/constructions/Straight_skeleton_cons_ftC2.h index 0acd720fed7..6f0efd9840e 100644 --- a/Straight_skeleton_2/include/CGAL/constructions/Straight_skeleton_cons_ftC2.h +++ b/Straight_skeleton_2/include/CGAL/constructions/Straight_skeleton_cons_ftC2.h @@ -49,8 +49,7 @@ inline CORE::BigFloat MP_Float_to_BigFloat( MP_Float const& b ) d += d_exp * CORE::BigFloat(b.of_exp(i)); } - // The cast is necessary for SunPro. - return d * CORE::BigFloat::exp2(static_cast(exp * log_limb)); + return d * CORE::BigFloat::exp2(exp * log_limb); } #endif