[erlang-questions] inlining math:pi()

James Hague <>
Fri Dec 11 21:21:25 CET 2009


> 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.

James


More information about the erlang-questions mailing list