MCPcopy Create free account
hub / github.com/apache/tomcat / isDoubleOp

Method isDoubleOp

java/org/apache/el/lang/ELSupport.java:717–719  ·  view source on GitHub ↗

Checks if either operand is a Double or Float. @param obj0 the first operand @param obj1 the second operand @return true if either operand is a Double or Float

(final Object obj0, final Object obj1)

Source from the content-addressed store, hash-verified

715 * @return true if either operand is a Double or Float
716 */
717 public static boolean isDoubleOp(final Object obj0, final Object obj1) {
718 return (obj0 instanceof Double || obj1 instanceof Double || obj0 instanceof Float || obj1 instanceof Float);
719 }
720
721 /**
722 * Checks if either operand is a Long, Integer, Character, Short, or Byte.

Callers 2

compareMethod · 0.95
equalsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected