[erlang-questions] inlining math:pi()

Garry Hodgson garry@REDACTED
Sun Dec 13 02:23:52 CET 2009

James Hague wrote:
>> Use a macro?
> That's what I did.  I have a ?PI macro in my tiny little prelude file
> that I include in most modules.  But I thought I'd bring it up, as
> math:pi/0 already exists as part of the standard library.

not to mention that ?PI is kinda ugly.

Garry Hodgson
AT&T Chief Security Office (CSO)

"This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited."

More information about the erlang-questions mailing list