From 8d333ecf806633b9284d9c313a30faf74a73e221 Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 13 Oct 2008 18:15:52 +0000 Subject: [PATCH] enable overflow, underderflow, and inexact FP errors, now that cairo is clean --- cmd/dot/dot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/dot/dot.c b/cmd/dot/dot.c index 4c17da1a6..72edba559 100644 --- a/cmd/dot/dot.c +++ b/cmd/dot/dot.c @@ -106,9 +106,9 @@ static void fpinit(void) fpe_flags &= ~_FPU_MASK_IM; /* invalid operation */ fpe_flags &= ~_FPU_MASK_DM; /* denormalized operand */ fpe_flags &= ~_FPU_MASK_ZM; /* zero-divide */ - /*fpe_flags &= ~_FPU_MASK_OM; overflow */ - /*fpe_flags &= ~_FPU_MASK_UM; underflow */ - /*fpe_flags &= ~_FPU_MASK_PM; precision (inexact result) */ + fpe_flags &= ~_FPU_MASK_OM; /* overflow */ + fpe_flags &= ~_FPU_MASK_UM; /* underflow */ + fpe_flags &= ~_FPU_MASK_PM; /* precision (inexact result) */ _FPU_SETCW(fpe_flags); # endif #endif -- 2.40.0