LavCat,Nov 29 2004, 03:13 AM Wrote:You are welcome, I hope the calculator works! I remember one commercial calculator that I used in college in which multiplication was not commutative. More recently Intel had a small problem with the floating point lookup tables in the first Pentium.
[right][snapback]61467[/snapback][/right]
Hmm? How can multiplication not be commutative? :blink: The way I have the calculator coded so far all operations with the exception of division are commutative. The overall design of the operation-handling routines must have been real crap in that calculator of yours! :P
Edit: Talking about crappy routines, I was running some tests on my calculator and found out that subtraction wasn't working correctly all the time. It turns out that the genius that coded the subtraction routine is expecting the first operand to be positive and the second one to be negative 100% of the time. Now I have to handle this mess and add extra code to get the subtraction working right. That's what happens when you outsource jobs to idiots. :angry:
The gods made heavy metal and they saw that is was good
They said to play it louder than Hell
We promised that we would
When losers say it's over with you know that it's a lie
The gods made heavy metal and it's never gonna die
- Manowar
They said to play it louder than Hell
We promised that we would
When losers say it's over with you know that it's a lie
The gods made heavy metal and it's never gonna die
- Manowar