[chuck-users] Using e

Kassen 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?

Yours,
Kas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20090115/af3ead7d/attachment.htm>


More information about the chuck-users mailing list