LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #16   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Excel Math Bug

with all the input from people like you this has become quite an interesting
thread. It takes me back to the thousands of hours I spent programming for
a bank, and looking up the minute details of certain functions and running
dozens of test routines to check behaviour of functions. It's really quite
amazing how when you push something to its limits you find all kinds of
quirky things.

"Harlan Grove" wrote in message
...
"Tom Ogilvy" wrote...
Precedence of operations is stated in the help. As far as I know, there

is
no universally accepted order of precedence that covers all combinations

and
permutations.

...

Somewhat of a tangent. APL and its descendants (APL2, J and K) have

sepaate
tokens for numeric sign and minus operator. The numeric sign character is
part of the number token, so effectively always binds tighter than any

other
token or operator. Evaluation is always right to left, so different

results
are produced when using the sign character vs the minus operator followed

by
a number raised to an even power. Excel treats unary minus like APL's sign
character rather than like APL's unary ('monadic') minus. This is unlike
most other programming languages that use the same character to represent
signs in numeric tokens and unary and 'diadic' minus.




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Less Excel more Math Ty Excel Worksheet Functions 1 April 16th 11 06:28 AM
Math functions in Excel Farhad Excel Discussion (Misc queries) 2 February 19th 07 04:16 PM
Excel math formula dan Excel Worksheet Functions 4 October 30th 06 04:51 PM
How do I ? math/excel question Madduck Excel Discussion (Misc queries) 3 July 26th 06 05:41 AM
More math than excel, but a fun problem S Davis Excel Worksheet Functions 4 July 6th 06 10:04 PM


All times are GMT +1. The time now is 12:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"