[Issue 6715] Using a custom pow function for ^^

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 4 16:16:59 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=6715


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #2 from bearophile_hugs at eml.cc 2012-04-04 16:17:36 PDT ---
(In reply to comment #0)

> Can we have ^^ rewritten into a simple pow?

Note: I think that currently a^^b is optimized in some special cases by the
compiler (like b = 2). A simple function call causes a loss of those handy
optimizations.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list