24 Nov
2012
24 Nov
'12
7:39 a.m.
Le samedi 24 novembre 2012, Sietse Brouwer a écrit :
The '^' and 'e' all print a '10 ×' at the begining. It's what is expected for 'e' but not for '^'.
well, until now ^ and e were equivalent so if that has to change (say ^ no 10) then there need to be agreement about this as it's an incompatible change
I, for one, would expect 2^3 to mean '2 cubed', not 2x10^3. So I'd be in favour of this change. Then again, I have no code that depends on the old meaning... Of course, I'm also in favour of 2^3 to mean '2 cubed'.
--
Romain Diss