Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [QCN] QuazarCoin | Full privacy&data protection | Egalitarian PoW
by
CoolGecko
on 19/11/2014, 17:11:34 UTC
Sorry, I haven't created a Github page for the wallet yet because I ran into a problem. I discovered that when I enter large transaction values, the transaction values get truncated. It turns out that Javascript only supports about 15 1/2 digits accuracy before it starts truncating. I would expect it to be much larger than that on the 64bit machine that I'm using, but Javascript math is based on a ECMA standard that I think is about 52bits precision for positive floating point and 31 bits precision for positive integers. I made an arbitrary precision math module, which partially solves the problem. I also need to do something about the RPC client. The RPC client, converts the coin value string transmitted over the network to a javascript number. Maybe I'll have to modify that so it doesn't parse the string to a number, but leaves it as a string, which isn't limited. I need to add these numbers up and the math module has a function that adds up character strings representing numbers of any size. So it will be a while before I put up the github page; I need to get this stuff working first.