[chuck-users] Using e
signal.automatique at gmail.com
Thu Jan 15 08:31:37 EST 2009
Sorry, list, no chemicals here. I just couldn't resist the title.
Last night I was answering a question on the forum that involved the
constant "e". To get e in chuck we go;
Math.e => float value;
However to get pi we go simply;
pi => float another_value;
This isn't exactly a major issue, compared to some of the other issues that
we have but it does strike me as somewhat inconsistent. Is there a good
reason for this? If not should we consider making this consistent, for
example by stuffing pi in the Math library as well?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the chuck-users