From: gotoken@... (GOTO Kentaro) Date: 1999-04-26T23:46:51+09:00 Subject: [ruby-dev:6663] Re: -2**2 => 4 ごとけんです 蛇足 In message "[ruby-dev:6662] Re: -2**2 => 4" on 99/04/26, GOTO Kentaro writes: ># ちなみに Mathematica では、 ># In[1]:= FullForm[-x^n] ># Out[1]//FullForm= Times[-1, Power[x, n]] ># In[2]:= FullForm[-1^n] ># Out[2]//FullForm= -1 ># 動作の参考にはなりませんが意味は数学記法に合わせてますね。 # In[3]:= FullForm[-2^n] # Out[3]//FullForm= Times[-1, Power[2, n]] -- gotoken