May 11, 2015
https://issues.dlang.org/show_bug.cgi?id=5227

--- Comment #11 from Iain Buclaw <ibuclaw@gdcproject.org> ---
(In reply to Manu from comment #10)
> (In reply to Iain Buclaw from comment #8)
> > (In reply to Manu from comment #7)
> > > log() works!
> > 
> > I doubt that, CTFE isn't powerful enough yet.
> 
> 
> pragma(msg, log(101.2));
> 
> > 4.6171L
> 

Ah, DMD cheats here - I didn't see neither the INLINE_Y2LX path, nor the fact that DMD apparently executes the fy2lx instruction at compile time for you.

I wouldn't rely on this behaviour if I were you.

--
May 11, 2015
https://issues.dlang.org/show_bug.cgi?id=5227

--- Comment #12 from Manu <turkeyman@gmail.com> ---
(In reply to Iain Buclaw from comment #11)
> (In reply to Manu from comment #10)
> > (In reply to Iain Buclaw from comment #8)
> > > (In reply to Manu from comment #7)
> > > > log() works!
> > > 
> > > I doubt that, CTFE isn't powerful enough yet.
> > 
> > 
> > pragma(msg, log(101.2));
> > 
> > > 4.6171L
> > 
> 
> Ah, DMD cheats here - I didn't see neither the INLINE_Y2LX path, nor the fact that DMD apparently executes the fy2lx instruction at compile time for you.
> 
> I wouldn't rely on this behaviour if I were you.

That's worrying.
Either way, this is the most basic non-linear maths. We really really do need
this accessible in CTFE. Especially considering x^^y is an operator!

--
May 22, 2015
https://issues.dlang.org/show_bug.cgi?id=5227

Clement Courbet <clem@somebod.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clem@somebod.com

--- Comment #13 from Clement Courbet <clem@somebod.com> ---
These address the (smaller) issue in comment #10:

https://github.com/D-Programming-Language/dmd/pull/4674 https://github.com/D-Programming-Language/phobos/pull/3307

--
December 12, 2017
https://issues.dlang.org/show_bug.cgi?id=5227

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n8sh.secondary@hotmail.com

--- Comment #14 from Iain Buclaw <ibuclaw@gdcproject.org> ---
*** Issue 18069 has been marked as a duplicate of this issue. ***

--
March 23, 2018
https://issues.dlang.org/show_bug.cgi?id=5227

--- Comment #15 from Walter Bright <bugzilla@digitalmars.com> ---
*** Issue 16474 has been marked as a duplicate of this issue. ***

--
March 23, 2018
https://issues.dlang.org/show_bug.cgi?id=5227

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #16 from Walter Bright <bugzilla@digitalmars.com> ---
https://github.com/dlang/dmd/pull/8071

--
March 23, 2018
https://issues.dlang.org/show_bug.cgi?id=5227

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|phobos                      |dmd
                 OS|Windows                     |All

--
April 17, 2018
https://issues.dlang.org/show_bug.cgi?id=5227

--- Comment #17 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/6767a32f6988c6794815405e01f07250177d6098 fix Issue 5227 - X ^^ FP at compile-time

https://github.com/dlang/dmd/commit/a4fbc9829da9e4b3e6d73859a42dc6e624e9b790 Merge pull request #8071 from WalterBright/fix5227

fix Issue 5227 - X ^^ FP at compile-time
merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>

--
April 17, 2018
https://issues.dlang.org/show_bug.cgi?id=5227

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
April 17, 2018
https://issues.dlang.org/show_bug.cgi?id=5227

--- Comment #18 from Manu <turkeyman@gmail.com> ---
Yay! 8 years in the making. This must be a very fine brew! :P

--
1 2
Next ›   Last »