[hg] main-silver: #223097: Apply the remainder operator for doub...

  • From:
  • To:
  • Subject: [hg] main-silver: #223097: Apply the remainder operator for doub...
  • Date: Mon, 03 Dec 2012 18:37:23 -0800

changeset 46383f3eb430 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/46383f3eb430
description:
        #223097: Apply the remainder operator for double and float values as 
well.

diffstat:

 
debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/EvaluatorVisitor.java
 |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (21 lines):

diff --git 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/EvaluatorVisitor.java
 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/EvaluatorVisitor.java
--- 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/EvaluatorVisitor.java
+++ 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/EvaluatorVisitor.java
@@ -1265,6 +1265,8 @@
                         v = l * r; isBoolean = false; break;
                     case PLUS:
                         v = l + r; isBoolean = false; break;
+                    case REMAINDER:
+                        v = l % r; isBoolean = false; break;
                     case EQUAL_TO:
                         b = l == r; break;
                     case GREATER_THAN:
@@ -1302,6 +1304,8 @@
                         v = l * r; isBoolean = false; break;
                     case PLUS:
                         v = l + r; isBoolean = false; break;
+                    case REMAINDER:
+                        v = l % r; isBoolean = false; break;
                     case EQUAL_TO:
                         b = l == r; break;
                     case GREATER_THAN:

[hg] main-silver: #223097: Apply the remainder operator for doub...

mentlicher 12/04/2012

Project Features

About this Project

Debugger was started in November 2009, is owned by tpavek, and has 29 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close