Re: value

new topic     » goto parent     » topic index » view thread      » older message » newer message

Kat writes:
> What about leading zero stripping, without decimal points?
> Like:
> value("00000000000000000000000000000000000000000000000001")?
> Is there a limit there?

No.
value() will just eat up all the 0's,
no matter how many you give it.

> I'd try all my questions, and not be bothering you, but i
> can't seem to come up with all possible failure possibilities myself.
> Which is why i am so delayed with the bignum.e lib. 
> I haven't hit this yet,
> but i can see the possibility of it happening.

I don't think value() will give you any surprises.
The source code for value() is in euphoria\include\get.e
Just remember that floating-point arithmetic is not
infinitely precise, and only has a finite range before you
end up with +/- INF. Those issues shouldn't affect you though
if you are storing big numbers as sequences of digits.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu