(Long L, int kind)
| 724 | } |
| 725 | |
| 726 | static long longUnaryOperation(Long L, int kind) |
| 727 | { |
| 728 | long operand = L.longValue(); |
| 729 | |
| 730 | switch(kind) |
| 731 | { |
| 732 | case PLUS: |
| 733 | return operand; |
| 734 | case MINUS: |
| 735 | return -operand; |
| 736 | case TILDE: |
| 737 | return ~operand; |
| 738 | case INCR: |
| 739 | return operand + 1; |
| 740 | case DECR: |
| 741 | return operand - 1; |
| 742 | default: |
| 743 | throw new InterpreterError("bad long unaryOperation"); |
| 744 | } |
| 745 | } |
| 746 | |
| 747 | static float floatUnaryOperation(Float F, int kind) |
| 748 | { |
no outgoing calls
no test coverage detected