math.pi and math.twopi are awaiting static variables to be completely fixed to be included. in the mean time, try simply 'pi'. Best, Ge! On Jan 10, 2006, at 2:51 PM, Mike McGonagle wrote:
I tried those as well, and got the same error message. What's up with this? Is there something I am doing wrong? Is anyone else having trouble with these?
On 1/10/06, Philip Davidson
wrote: hmm, i believe there's a slight bug in the documentation. try math.pi, math.twopi - they are constants, not functions.
otherwise, I believe the math library shouldn't have any gaping holes in it.
Mike McGonagle wrote:
I was trying to use the math.pi() and math.twopi() methods, and ChucK complains that these are not members of the library. What is the status of the math library? How complete is it?
Thanks,
Mike _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- Help the Environment, Plant a Bush back in Texas! _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users