This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Scala hex / decimal binary calculator | |
* (c) Mark Lister 2012 | |
* Licence Apache 2. | |
*/ | |
class BaseN(b: BigInt, val baseN: Int) extends BigInt(b.underlying) { | |
def n(x: Int) = new BaseN(b, x) | |
/** |