summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2005-06-26 23:23:55 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2005-06-26 23:23:55 +0000
commit20e3c010588f4ba7e4a1b7e2e4cc9a861ba3b368 (patch)
tree6ae15ab95c83ea6f739352c1641b0f724ee13135 /riscos
parent9c53f989468300f7b20708b239718754b4431855 (diff)
downloadnetsurf-20e3c010588f4ba7e4a1b7e2e4cc9a861ba3b368.tar.gz
netsurf-20e3c010588f4ba7e4a1b7e2e4cc9a861ba3b368.tar.bz2
[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
Diffstat (limited to 'riscos')
-rw-r--r--riscos/gui.c7
1 files changed, 4 insertions, 3 deletions
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);