Realistically, 3 + + should give a syntax error as it's not a valid mathematical equation.
Anything generated from this equation is undefined.
I know some calculators use hitting the + button as a trigger to calculate anything in memory. Looking at the Windows calculator, it seems to take a number then a operand as valid syntax to use the previous number as post number.
Thus '3 +' = 6 '3 -' = 0 '3 *' = 9
Any further operand cancels out the previous. Thus: '3 + + + + - - - - * * *' is equivalent to '3 *' = 9
Strange ....
-----Original Message----- From: Brian [mailto:briandabrain@gmail.com] Sent: 08 February 2006 23:21 To: ReactOS Development List Subject: Re: [ros-dev] Bug: The calculator of ROS calculates wrong
just a thought...
shouldn't 3,+,+ in calculator produce 6...
brian friend of ReactOS
************************************************************************ The information contained in this message or any of its attachments is confidential and is intended for the exclusive use of the addressee. The information may also be legally privileged. The views expressed may not be company policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this message in error, please contact postmaster@exideuk.co.uk mailto:postmaster@exideuk.co.uk and then delete this message.
Exide Technologies is an industrial and transportation battery producer and recycler with operations in 89 countries. Further information can be found at www.exide.com