From 71bfcce226bab9ab8bcdcdabe20723a338fd25a4 Mon Sep 17 00:00:00 2001 From: Brian Spilsbury Date: Thu, 4 Mar 2021 00:26:36 +0900 Subject: [PATCH] Keep CGAL_IA_FORCE_TO_DOUBLE for the normal case --- Number_types/include/CGAL/FPU.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Number_types/include/CGAL/FPU.h b/Number_types/include/CGAL/FPU.h index 501b63999a9..8d610586960 100644 --- a/Number_types/include/CGAL/FPU.h +++ b/Number_types/include/CGAL/FPU.h @@ -359,7 +359,7 @@ inline double CGAL_IA_UP(double d) { // In round-upward mode we can rely on the hardware // to do the job. - return d; + return CGAL_IA_FORCE_TO_DOUBLE(d); } #endif #define CGAL_IA_ADD(a,b) CGAL_IA_UP((a)+CGAL_IA_STOP_CPROP(b))