Re: [OT] Re: Let's kill 80bit real at CTFE

2016-09-11 Thread Stefan Koch via Digitalmars-d
On Sunday, 11 September 2016 at 14:52:18 UTC, Manu wrote: That's cool, but surely unnecessary; the compiler should just hook these and do it directly... They're intrinsics in every compiler/language I've ever used! Just not DMD. If your results are compatible, why not PR this implementation

Re: [OT] Re: Let's kill 80bit real at CTFE

2016-09-11 Thread Manu via Digitalmars-d
On 12 September 2016 at 00:31, Marco Leise via Digitalmars-d wrote: > Am Sun, 11 Sep 2016 15:00:12 +1000 > schrieb Manu via Digitalmars-d : > >> On 9 September 2016 at 21:50, Stefan Koch via Digitalmars-d >>

[OT] Re: Let's kill 80bit real at CTFE

2016-09-11 Thread Marco Leise via Digitalmars-d
Am Sun, 11 Sep 2016 15:00:12 +1000 schrieb Manu via Digitalmars-d : > On 9 September 2016 at 21:50, Stefan Koch via Digitalmars-d > wrote: > > Hi, > > > > In short 80bit real are a real pain to support cross-platform. > > emulating them

Re: Let's kill 80bit real at CTFE

2016-09-10 Thread Manu via Digitalmars-d
On 9 September 2016 at 21:50, Stefan Koch via Digitalmars-d wrote: > Hi, > > In short 80bit real are a real pain to support cross-platform. > emulating them in software is prohibitively slow, and more importantly hard > to get right. > 64bit floating-point numbers are

Re: Let's kill 80bit real at CTFE

2016-09-10 Thread tsbockman via Digitalmars-d
On Friday, 9 September 2016 at 11:50:08 UTC, Stefan Koch wrote: Hi, In short 80bit real are a real pain to support cross-platform. emulating them in software is prohibitively slow, Supposedly, well-optimized 128-bit software floating-point is actually a bit faster than hardware 80-bit.

Re: Let's kill 80bit real at CTFE

2016-09-09 Thread rikki cattermole via Digitalmars-d
On 09/09/2016 11:50 PM, Stefan Koch wrote: Hi, In short 80bit real are a real pain to support cross-platform. emulating them in software is prohibitively slow, and more importantly hard to get right. 64bit floating-point numbers are supported on more architectures and are much better supported.

Let's kill 80bit real at CTFE

2016-09-09 Thread Stefan Koch via Digitalmars-d
Hi, In short 80bit real are a real pain to support cross-platform. emulating them in software is prohibitively slow, and more importantly hard to get right. 64bit floating-point numbers are supported on more architectures and are much better supported. They are also trivial to use at ctfe. I