MCPcopy Create free account
hub / github.com/Aghajari/MathParser / sign

Method sign

MathParser/src/com/aghajari/math/Functions.java:322–324  ·  view source on GitHub ↗
(double a)

Source from the content-addressed store, hash-verified

320 }
321
322 public static double sign(double a) {
323 return Double.compare(a, 0);
324 }
325
326 public static double IF(MathParser parser, String condition, String a, String b) throws MathParserException {
327 condition = Utils.realTrim(condition);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected