Package wyautl.util

Examples of wyautl.util.BigRational.negate()


        sb.append((char) next());
      }
      BigRational val = new BigRational(sb.toString());

      if(negative) {
        val = val.negate();
      }

      return automaton.add(new Automaton.Real(val));

    } else {
View Full Code Here


    } else {
      BigInteger val = new BigInteger(sb.toString());

      if(negative) {
        val = val.negate();
      }

      return automaton.add(new Automaton.Int(val));
    }
  }
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.