[erlang-questions] inlining math:pi()

Tony Arcieri tony@REDACTED
Fri Dec 11 23:26:29 CET 2009


On Fri, Dec 11, 2009 at 1:21 PM, James Hague <james.hague@REDACTED> wrote:

> That's what I did.  I have a ?PI macro in my tiny little prelude file
> that I include in most modules.


Cool, problem solved!


> But I thought I'd bring it up, as
> math:pi/0 already exists as part of the standard library.
>

The best way to leverage that appropriately would be for HiPE to support
inlining across modules.

-- 
Tony Arcieri
Medioh! A Kudelski Brand


More information about the erlang-questions mailing list