Re: [PHP] Calculations and exponents in languages

2006-06-28 Thread John Gunther
Algol used ^ More common, historically, is the use of ** as the exponentiation operator: Fortran, PL/I, perl, python Curiously, many modern languages -- inexplicably -- don't have an exponentiation operator: C, Java, Javascript, PHP John Gunther Robin Vickery wrote: On 28/06/06, [EMAIL P

Re: [PHP] Calculations and exponents in languages

2006-06-28 Thread Robin Vickery
On 28/06/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Huh.. thanks for the illustration Robin. Can't say that I did much with exponents when I've played around with perl or python or C.. and never worked with Java. You've expanded my view. Ok, now what languages DO use ^ for exponents?

Re: [PHP] Calculations and exponents in languages

2006-06-28 Thread tg-php
Huh.. thanks for the illustration Robin. Can't say that I did much with exponents when I've played around with perl or python or C.. and never worked with Java. You've expanded my view. Ok, now what languages DO use ^ for exponents? -TG = = = Original message = = = On 28/06/06, tedd <[EMAIL