Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,sci.math
external usenet poster
 
Posts: 733
Default Excel Math Bug

"JE McGimpsey" wrote...
....
There's no ambiguity that negation and subtraction are different. The
fact that the typography is ambiguous means that you need to check your
assumptions.


That's the real problem here. The character - is being used both as a sign
character and as an operator. The apparent goal is consistency of results
for, say, -3^2 and -A1^2 when A1 == 3. Excel's results are consistent: both
return 9. FWLIW, Lotus 123's results are also consistent: both return -9.
The consistency of results is what's important, not the precedence.

While this isn't a bug, it was at best a questionable design decision.

Those who insist that a computer application must conform to *their*
standard have never programmed in APL.


The only language I know for which this isn't ambiguous because different
characters are used for negative sign on the one hand (part of the number
token) and monadic/diadic minus on the other. PITA to use if you cling to
any preconceived notions of left-to-right evaluation, but NEVER ambiguous.

Actually that's unfair to C and Logo (and probably most other functional
languages). C and Logo don't have exponentiation operators, just power
functions, so again no ambiguity.



Posted Via Nuthinbutnews.Com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.nuthinbutnews.com
  #2   Report Post  
Posted to microsoft.public.excel.programming,sci.math
external usenet poster
 
Posts: 4,624
Default Excel Math Bug

In article , "Harlan Grove"
wrote:

PITA to use if you cling to any preconceived notions of left-to-right
evaluation, but NEVER ambiguous.


Yup - had to learn APL for my high school math classes. To be
successful, it was hard to avoid learning the math, rather than just the
formulae.
Reply
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 08:16 PM.

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"