• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Order of operations (was: Eigenvalues &/or eigenvectors, anyone?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Order of operations (was: Eigenvalues &/or eigenvectors, anyone?)


  • Subject: Re: Order of operations (was: Eigenvalues &/or eigenvectors, anyone?)
  • From: Doug McNutt <email@hidden>
  • Date: Thu, 8 May 2003 09:25:44 -0600

At 20:31 -0700 5/7/03, Michael Kelly wrote:
>Wow. I am both horrified and intrigued. Is there an actual reason for
>this, or did some bored Apple tech just decide to change the order of
>operations to mess with people's minds?

I did file a bug report and it made it up the chain far enough to get a number. The problem is that some professor in some computer science department decided there was something called a "unary minus" operator which is not a subtraction. Back when algebra was taught in high school - remember that? - we learned that a leading minus sign implied a preceding zero.

The only other language I know that has it "wrong" is Microbesoft Excel where it's a unary minus if executed as a worksheet formula but an algebraically correct subtraction if executed as a Visual Basic macro. FORTRAN, BASIC, Gnumeric, AppleWorks, Maple, perl all have it "right". C doesn't have a power operator.

I'm waiting for a bridge to fall down because engineers aren't computer-science savvy. But then statics can involve eigenvectors so it's not likely to be the fault of AppleScript.

Larry Wall briefly discusses the subject in "Programming Perl", O'Reilly, ISBN 0-596-00027-8, page 92.

--
--> There are 10 kinds of people: those who understand binary, and those who don't <--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Order of operations (was: Eigenvalues &/or eigenvectors, anyone?)
      • From: Michelle Steiner <email@hidden>
    • Re: Order of operations (was: Eigenvalues &/or eigenvectors, anyone?)
      • From: Michael Kelly <email@hidden>
    • Re: Order of operations (was: Eigenvalues &/or eigenvectors, anyone?)
      • From: Deivy Petrescu <email@hidden>
References: 
 >Eigenvalues &/or eigenvectors, anyone? (From: Mark Butcher <email@hidden>)
 >Re: Eigenvalues &/or eigenvectors, anyone? (From: Doug McNutt <email@hidden>)
 >Order of operations (was: Eigenvalues &/or eigenvectors, anyone?) (From: Michael Kelly <email@hidden>)

  • Prev by Date: Re: "idle" has different effect in X vs 9?
  • Next by Date: Re: iTunes 4 & Artwork scripting
  • Previous by thread: Re: Order of operations (was: Eigenvalues &/or eigenvectors, anyone?)
  • Next by thread: Re: Order of operations (was: Eigenvalues &/or eigenvectors, anyone?)
  • Index(es):
    • Date
    • Thread