summaryrefslogtreecommitdiff
path: root/lang/smalltalk/files/patch-aa
blob: cd9dcdea95ec0e29414256a36eecfb5292e5511f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- lib/lex.c.old	Sun Dec 26 10:56:37 1999
+++ lib/lex.c	Sun Dec 26 10:57:50 1999
@@ -48,6 +48,7 @@
 #include "sysdep.h"
 #include <stdio.h>
 #include <math.h>
+#include <floatingpoint.h>
 #ifdef HAVE_READLINE
 #include <readline/readline.h>
 #include <readline/history.h>
@@ -693,6 +694,7 @@
   if (isNegative) {
     num = -num;
   }
+  fpsetmask(0);
     
   if (dotSeen) {
     lvalp->fval = num;