Package com.ericsson.otp.erlang

Examples of com.ericsson.otp.erlang.OtpErlangLong.bitLength()


        new OtpErlangBinary(oos.toByteArray());
    return o;
      } else if (atomValue.equals("bigint")
           && i instanceof OtpErlangLong) {
    final OtpErlangLong l = (OtpErlangLong) i;
    final int w = l.signum() * l.bitLength();
    final OtpErlangLong x = new OtpErlangLong(l.longValue());
    final java.math.BigInteger b = l.bigIntegerValue();
    System.out.println("long: " + l + ": " + w + ": " + b.signum()
      * b.bitLength() + ": " + x + ": " + l.isLong() + ": "
      + l.isULong());
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.