Re: std.math log and family

2018-10-31 Thread H. S. Teoh via Digitalmars-d-learn
On Wed, Oct 31, 2018 at 11:29:17AM +, kinke via Digitalmars-d-learn wrote: > On Wednesday, 31 October 2018 at 01:26:19 UTC, H. S. Teoh wrote: > > Is it true that on modern hardware computing with `real` reverts to > > slow x87 emulation in the CPU instead of using SSE/MMX/whatever > > native ma

Re: std.math log and family

2018-10-31 Thread kinke via Digitalmars-d-learn
On Wednesday, 31 October 2018 at 01:26:19 UTC, H. S. Teoh wrote: Is it true that on modern hardware computing with `real` reverts to slow x87 emulation in the CPU instead of using SSE/MMX/whatever native math functions? You should have read recent DMD & LDC release notes. ;) https://github.com

Re: std.math log and family

2018-10-30 Thread H. S. Teoh via Digitalmars-d-learn
On Wed, Oct 31, 2018 at 01:14:37AM +, kinke via Digitalmars-d-learn wrote: > On Wednesday, 31 October 2018 at 00:48:03 UTC, Joe wrote: > > I'd like to know if the lack of double/float versions of 'log', > > 'log10', etc. are intentional, i.e., there's some rationale behind > > it, or an oversig

Re: std.math log and family

2018-10-30 Thread kinke via Digitalmars-d-learn
On Wednesday, 31 October 2018 at 00:48:03 UTC, Joe wrote: I'd like to know if the lack of double/float versions of 'log', 'log10', etc. are intentional, i.e., there's some rationale behind it, or an oversight. Just laziness or people still thinking that you don't lose any performance by compu

Re: std.math log and family

2018-10-30 Thread H. S. Teoh via Digitalmars-d-learn
On Wed, Oct 31, 2018 at 12:48:03AM +, Joe via Digitalmars-d-learn wrote: [...] > I'd like to know if the lack of double/float versions of 'log', > 'log10', etc. are intentional, i.e., there's some rationale behind it, > or an oversight. It's an oversight. Thanks for bringing it to our attenti