Package wyautl.util

Examples of wyautl.util.BigRational.longValue()


    } else if (v instanceof BigRational) {
      BigRational br = (BigRational) v;
      rhs = "new Automaton.Real(\"" + br.toString() + "\")";
      if (br.isInteger()) {
        long lv = br.longValue();
        if (BigRational.valueOf(lv).equals(br)) {
          // Yes, this will fit in a long value. Therefore, inline a
          // long constant as this is faster.
          rhs = "new Automaton.Real(" + lv + ")";
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.