speedcrunch / SpeedCrunch

A fast, high-precision and powerful cross-platform desktop calculator.
http://speedcrunch.org
269 stars 37 forks source link

Parser problem? #65

Closed heldercorreia closed 9 years ago

heldercorreia commented 9 years ago

Originally reported on Google Code with ID 3

What steps will reproduce the problem?
1. Enter an expression f(1/2) + g(1/2) where f and g are supported
functions (they can be the same).

What is the expected output? What do you see instead?

  The user is presented with a complaint about the number of parameters to
the last function.

Reported by e8johan on 2006-08-01 09:34:07

heldercorreia commented 9 years ago
The triggering function is f(-1/2) + g(-1/2). Sorry about the bad description in the
last message.

Reported by e8johan on 2006-08-08 06:15:14

heldercorreia commented 9 years ago
Fixed in revision 71.

The problem was that a function is recognized as <id> <lparen> !<op>, but for
functions with arguments starting with a unary + or - the pattern is <id> <lparen>
<op> <!op>.

Reported by e8johan on 2006-08-29 12:34:38

heldercorreia commented 9 years ago

Reported by ariya.hidayat on 2006-10-12 09:27:25

heldercorreia commented 9 years ago

Reported by helder.pereira.correia on 2007-05-18 23:30:01