[Issue 7132] [tdpl] Exponential operator ^^ for integrals does not compile without any import

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 24 04:52:21 PST 2011


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2011-12-24 04:52:18 PST ---
That's because ^^ requires import std.math;
To make it work without the import, we need to move the intpow function out of
std.math, and into the runtime.

That's quite reasonable, provided we don't have to do the same for floating
point powers.
(To implement floating point powers, most of std.math would need to move to the
runtime. In fact to do it with correct rounding, parts of bigint would be
required as well).

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