From 20e3c010588f4ba7e4a1b7e2e4cc9a861ba3b368 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 26 Jun 2005 23:23:55 +0000 Subject: [project @ 2005-06-26 23:23:55 by jmb] Disable raising of inexact floating point operations as we're not interested in them. svn path=/import/netsurf/; revision=1768 --- riscos/gui.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'riscos/gui.c') diff --git a/riscos/gui.c b/riscos/gui.c index bca01913a..aa9e11d4e 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -238,9 +238,10 @@ void gui_init(int argc, char** argv) struct theme_descriptor *descriptor = NULL; char *nsdir_temp; - /* re-enable all FPU exceptions/traps - - * UnixLib disables them by default */ - _FPU_SETCW(_FPU_IEEE); + /* re-enable all FPU exceptions/traps except inexact operations, + * which we're not interested in - UnixLib disables all FP + * exceptions by default */ + _FPU_SETCW(_FPU_IEEE & ~_FPU_MASK_PM); xhourglass_start(1); -- cgit v1.2.3