diff Vis.cpp @ 29:8a6ba554d341

FPU Undefined fixes
author zipi
date Sun, 20 Jan 2013 12:55:09 +0000
parents fe0d9a98213f
children 8aa7e4a303c9 bf67f3164041
line wrap: on
line diff
--- a/Vis.cpp	Sat Jan 19 16:15:06 2013 +0000
+++ b/Vis.cpp	Sun Jan 20 12:55:09 2013 +0000
@@ -323,14 +323,14 @@
   }
   v9 = x + 1.0;
   //UNDEF(v8);
-  v10 = v9 < v5;
-  v11 = 0;
-  v12 = v9 == v5;
-  BYTE1(result) = HIBYTE(v8);//crash
+  //v10 = v9 < v5;
+  //v11 = 0;
+  //v12 = v9 == v5;
+  //BYTE1(result) = HIBYTE(v8);//crash
   if ( v9 >= v5
-    && (v14 = x - 1.0, /*UNDEF(v13),*/ v15 = v14 < a1a, v16 = 0, v17 = v14 == a1a, BYTE1(result) = HIBYTE(v13), v15 | v17)
-    && (v19 = y + 1.0, /*UNDEF(v18),*/ v20 = v19 < v29, v21 = 0, v22 = v19 == v29, BYTE1(result) = HIBYTE(v18), v19 >= v29)
-    && (v24 = y - 1.0, /*UNDEF(v23),*/ v25 = v24 < v28, v26 = 0, v27 = v24 == v28, BYTE1(result) = HIBYTE(v23), v25 | v27) )
+    && (v14 = x - 1.0, v14<=a1a)///*UNDEF(v13),*/ v15 = v14 < a1a, v16 = 0, v17 = v14 == a1a, BYTE1(result) = HIBYTE(v13), v15 | v17)
+    && (v19 = y + 1.0, v19>=v29)///*UNDEF(v18),*/ v20 = v19 < v29, v21 = 0, v22 = v19 == v29, BYTE1(result) = HIBYTE(v18), v19 >= v29)
+    && (v24 = y - 1.0, v24<=v28))///*UNDEF(v23),*/ v25 = v24 < v28, v26 = 0, v27 = v24 == v28, BYTE1(result) = HIBYTE(v23), v25 | v27) )
     LOBYTE(result) = 1;
   else
 LABEL_14: