Python and Flaming Thunder

Dan Upton upton at virginia.edu
Wed May 21 19:30:27 EDT 2008


On Wed, May 21, 2008 at 5:27 PM, Fuzzyman <fuzzyman at gmail.com> wrote:
> On May 14, 10:30 pm, "bruno.desthuilli... at gmail.com"
> <bruno.desthuilli... at gmail.com> wrote:
>> > Dave Parker schrieb:
>> > > All of the calculators and textbooks that elementary school students
>> > > use, use "^" for powers.
>>
>> I've never seen this symbol in textbooks. In textbooks, powers are
>> written using superscript.
>>
>> >>  Just like Flaming Thunder does.  I haven't
>> > > seen "**" for powers since FORTRAN.
>>
>> I haven't seen any language using '^' as the power operator so far -
>> but I've seen quite a lot of them using it as the bitwise XOR operator.
>
>
> Excel uses the caret as the power operator. Arguably the worlds most
> widely used programming environment...
>
I think BASIC did, too.  I know I used to use it in some language and
was confused when I first tried to use it in Java and didn't get what
I was expecting.  ("Some language" must be in the set (BASIC, C,
Logo).)



More information about the Python-list mailing list