Re: Many Digits was: Help!!!!!
- Posted by Robert Craig <rds at EMAIL.MSN.COM> Apr 22, 1998
- 640 views
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. I'll fix it for the next release. Regards, Rob Craig Rapid Deployment Software