(BigInteger val)
| 59 | } |
| 60 | |
| 61 | public static BigInt fromBigInteger(BigInteger val){ |
| 62 | if(val.bitLength() < 64) |
| 63 | return new BigInt(val.longValue(), null); |
| 64 | else |
| 65 | return new BigInt(0, val); |
| 66 | } |
| 67 | |
| 68 | public static BigInt fromLong(long val){ |
| 69 | return new BigInt(val, null); |
no test coverage detected