28 Nov
2005
28 Nov
'05
11:38 p.m.
Welcome Tennessee!
I just downloaded chuck. Perhaps I'm being a bit blind/dense, but there doesn't seem to be a simple power operator in chuck. Given that power-laws appear in many places, it would be a very useful operator. Hopefully I'm just missing it?
Currently, there is math.pow( float, float ) but no dedicated power operator (like ** in python?). Other languages sometimes use a^b to denote power, however ^ is the xor binary operator in ChucK (like in C). Unless there is a really compelling reason to include a specialized power operator, it is unlikely chuck will support it (at least for now). Best, Ge!