Re: (frac 0 0)

2014-05-19 Thread Danilo Kordic
Thank You. parseNum is far better than my solution. On Mon, May 19, 2014 at 8:37 AM, Alexander Burger a...@software-lab.dewrote: Hi Danilo, I just noticed that by setting *Scl to NIL reader will simply ignore the decimal point. I haven't seen it in documentation. Ooos, no. Better

Re: (frac 0 0)

2014-05-18 Thread Alexander Burger
Hi Danilo, Is this an error or a feature? I would move denominator test to front. Good idea! OK, 0/0 is not defined, so it doesn't matter much in my opinion. But issuing the error is better. I've fixed it. Another quoestion: How to get all decimals from reader. How about: : (any 3.14159)