From e187dc03cbc2e5067a0144969e4e0af55836bced Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 2 Jul 2025 15:45:22 +0200 Subject: [PATCH] fix --- Number_types/include/CGAL/FPU.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Number_types/include/CGAL/FPU.h b/Number_types/include/CGAL/FPU.h index 41f67f940dc..64b549f48da 100644 --- a/Number_types/include/CGAL/FPU.h +++ b/Number_types/include/CGAL/FPU.h @@ -486,11 +486,10 @@ FPU_CW_t FPU_get_cw (void) { #ifdef CGAL_ALWAYS_ROUND_TO_NEAREST - FPU_CW_t cw; - CGAL_IA_GETFPCW(cw); + CGAL_assertion_code(FPU_CW_t cw; CGAL_IA_GETFPCW(cw);) CGAL_assertion_code(FPU_CW_t mask = CGAL_FE_ROUNDING_MASK;) CGAL_assertion((cw & mask) == (CGAL_FE_TONEAREST & mask)); - return cw; + return CGAL_FE_TONEAREST; #else FPU_CW_t cw; CGAL_IA_GETFPCW(cw);