Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release-src > by-pkgid > 3fd8acab9cdbd1d75d819f928ded929c > files > 2

basic256-1.1.4.0-3.mga6.src.rpm

diff -up basic256-1.1.4.0/Interpreter.cpp~ basic256-1.1.4.0/Interpreter.cpp
--- basic256-1.1.4.0/Interpreter.cpp~	2014-10-27 03:43:10.000000000 +0100
+++ basic256-1.1.4.0/Interpreter.cpp	2016-03-02 00:09:07.131971029 +0100
@@ -2663,7 +2663,7 @@ Interpreter::execByteCode() {
                             break;
                         case OP_TAN:
                             val = tan(val);
-                            if (isinf(val)) {
+                            if (::isinf(val)) {
                                 errornum = ERROR_INFINITY;
                                 stack.pushint(0);
                             } else {
@@ -2723,7 +2723,7 @@ Interpreter::execByteCode() {
                             break;
                         case OP_EXP:
                             val = exp(val);
-                            if (isinf(val)) {
+                            if (::isinf(val)) {
                                 errornum = ERROR_INFINITY;
                                 stack.pushint(0);
                             } else {
@@ -2739,7 +2739,7 @@ Interpreter::execByteCode() {
                     double oneval = stack.popfloat();
                     double twoval = stack.popfloat();
                     double ans = twoval + oneval;
-                    if (isinf(ans)) {
+                    if (::isinf(ans)) {
                         errornum = ERROR_INFINITY;
                         stack.pushint(0);
                     } else {
@@ -2752,7 +2752,7 @@ Interpreter::execByteCode() {
                     double oneval = stack.popfloat();
                     double twoval = stack.popfloat();
                     double ans = twoval - oneval;
-                    if (isinf(ans)) {
+                    if (::isinf(ans)) {
                         errornum = ERROR_INFINITY;
                         stack.pushint(0);
                     } else {
@@ -2765,7 +2765,7 @@ Interpreter::execByteCode() {
                     double oneval = stack.popfloat();
                     double twoval = stack.popfloat();
                     double ans = twoval * oneval;
-                    if (isinf(ans)) {
+                    if (::isinf(ans)) {
                         errornum = ERROR_INFINITY;
                         stack.pushint(0);
                     } else {
@@ -2782,7 +2782,7 @@ Interpreter::execByteCode() {
                         stack.pushint(0);
                     } else {
                         double ans = fmod(twoval, oneval);
-                        if (isinf(ans)) {
+                        if (::isinf(ans)) {
                             errornum = ERROR_INFINITY;
                             stack.pushint(0);
                         } else {
@@ -2800,7 +2800,7 @@ Interpreter::execByteCode() {
                         stack.pushint(0);
                     } else {
                         double ans = twoval / oneval;
-                        if (isinf(ans)) {
+                        if (::isinf(ans)) {
                             errornum = ERROR_INFINITY;
                             stack.pushint(0);
                         } else {
@@ -2819,7 +2819,7 @@ Interpreter::execByteCode() {
                     } else {
                         double intpart;
                         modf(twoval /oneval, &intpart);
-                        if (isinf(intpart)) {
+                        if (::isinf(intpart)) {
                             errornum = ERROR_INFINITY;
                             stack.pushint(0);
                         } else {
@@ -2837,7 +2837,7 @@ Interpreter::execByteCode() {
                         errornum = ERROR_NOTANUMBER;
                         stack.pushint(0);
                     } else {
-                        if (isinf(ans)) {
+                        if (::isinf(ans)) {
                             errornum = ERROR_INFINITY;
                             stack.pushint(0);
                         } else {