• 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: Minus-Hyphen, Numeric Negation and Subtraction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minus-Hyphen, Numeric Negation and Subtraction


  • Subject: Re: Minus-Hyphen, Numeric Negation and Subtraction
  • From: "Mark J. Reed" <email@hidden>
  • Date: Fri, 5 Jun 2009 02:50:52 -0400

On Fri, Jun 5, 2009 at 1:46 AM, Mark J. Reed<email@hidden> wrote:
> It's true that the major proglangs that have infix exponentiation
> operators at all agree with your math teacher: Awk, Basic, Fortran,
> Lua, Pascal, Perl, Python, and Ruby all give -4.  On the other hand,
> Microsoft Excel (and compatible spreadsheet programs) gives +4, as do
> the UNIX basic calculator program bc(1), the built-in arithmetic in
> the bash and Korn shells, and the Rexx programming language,  So
> AppleScript is in the minority here, but hardly alone.

Add Algol-68 to Applescript's end of the tally.

--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Same code gives different answers in 2 different scripts (From: Shane Stanley <email@hidden>)
 >Re: Minus-Hyphen, Numeric Negation and Subtraction (From: Chris Page <email@hidden>)
 >Re: Minus-Hyphen, Numeric Negation and Subtraction (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Word Line Numbers
  • Next by Date: Re: Cpu to one process
  • Previous by thread: Re: Minus-Hyphen, Numeric Negation and Subtraction
  • Next by thread: Re: “round” command rounding algorithms
  • Index(es):
    • Date
    • Thread