Re: Many Digits was: Help!!!!!

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

Irv Mullins reported:
> atom x
> x =
>200000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000
> printf(1,"%d",x)
> The above works. If you add one more 0, it blows up.
> (not LOCKS UP, just quits with an error message -- thanks RDS)

Thanks for reporting this. It's supposed to work no matter how
many digits you type (up to the maximum length of a line - 200
characters.). It fails for me too, when I add an extra digit.
It fails in the assignment statement, *before* the call to printf().

Internally, it fails when I  pass the string of 92 digits to
WATCOM's sscanf() C routine. So it's actually a C bug,
not a Euphoria bug.   smile

I'll fix it for the next release.

Regards,
     Rob Craig
     Rapid Deployment Software

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

Search



Quick Links

User menu

Not signed in.

Misc Menu