GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread Johannes Pfau via Digitalmars-d
Hi, std.math.internal.gammafunction is the last module with failing unittest on ARM, simply because it assumes that reals are always in x86 extended precision format which is obviously not true on ARM. I haven't got the required (maths) knowledge to fix this, so it'd be very appreciated if

Re: GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread dennis luehring via Digitalmars-d
Am 03.07.2014 17:33, schrieb Johannes Pfau: Hi, std.math.internal.gammafunction is the last module with failing unittest on ARM, simply because it assumes that reals are always in x86 extended precision format which is obviously not true on ARM. OT question: can you also check big endian

Re: GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread Iain Buclaw via Digitalmars-d
On 3 July 2014 17:09, dennis luehring via Digitalmars-d digitalmars-d@puremagic.com wrote: Am 03.07.2014 17:33, schrieb Johannes Pfau: Hi, std.math.internal.gammafunction is the last module with failing unittest on ARM, simply because it assumes that reals are always in x86 extended

Re: GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread Johannes Pfau via Digitalmars-d
Am Thu, 03 Jul 2014 18:09:41 +0200 schrieb dennis luehring dl.so...@gmx.net: OT question: can you also check big endian behavior with your ARM system (and maybe maybe unaligned accesses) if possible - I sometimes test on an armv5te as unaligned accesses corrupt data on these systems. I found

Re: GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread John Colvin via Digitalmars-d
On Thursday, 3 July 2014 at 15:35:35 UTC, Johannes Pfau wrote: Hi, std.math.internal.gammafunction is the last module with failing unittest on ARM, simply because it assumes that reals are always in x86 extended precision format which is obviously not true on ARM. I haven't got the required

Re: GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread Johannes Pfau via Digitalmars-d
Am Thu, 03 Jul 2014 16:47:41 + schrieb John Colvin john.loughran.col...@gmail.com: testing the latest gdc release, writeln and friends are broken for 64bit reals. Use core.stdc.stdio.printf with %lf instead. Actually mixing code compiled with -mlong-double-64 and code compiled without it

Re: GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread Iain Buclaw via Digitalmars-d
On 3 July 2014 18:02, Johannes Pfau via Digitalmars-d digitalmars-d@puremagic.com wrote: Am Thu, 03 Jul 2014 16:47:41 + schrieb John Colvin john.loughran.col...@gmail.com: testing the latest gdc release, writeln and friends are broken for 64bit reals. Use core.stdc.stdio.printf with %lf

Re: GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread Iain Buclaw via Digitalmars-d
On 3 July 2014 18:27, Iain Buclaw ibuc...@gdcproject.org wrote: On 3 July 2014 18:02, Johannes Pfau via Digitalmars-d digitalmars-d@puremagic.com wrote: Am Thu, 03 Jul 2014 16:47:41 + schrieb John Colvin john.loughran.col...@gmail.com: testing the latest gdc release, writeln and friends

Re: GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread John Colvin via Digitalmars-d
On Thursday, 3 July 2014 at 17:03:51 UTC, Johannes Pfau wrote: Am Thu, 03 Jul 2014 16:47:41 + schrieb John Colvin john.loughran.col...@gmail.com: testing the latest gdc release, writeln and friends are broken for 64bit reals. Use core.stdc.stdio.printf with %lf instead. Actually mixing

Re: GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread John Colvin via Digitalmars-d
On Thursday, 3 July 2014 at 15:35:35 UTC, Johannes Pfau wrote: Hi, std.math.internal.gammafunction is the last module with failing unittest on ARM, simply because it assumes that reals are always in x86 extended precision format which is obviously not true on ARM. I haven't got the required

Re: GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread John Colvin via Digitalmars-d
On Thursday, 3 July 2014 at 17:54:17 UTC, John Colvin wrote: On Thursday, 3 July 2014 at 15:35:35 UTC, Johannes Pfau wrote: Hi, std.math.internal.gammafunction is the last module with failing unittest on ARM, simply because it assumes that reals are always in x86 extended precision format

Re: GDC/ARM: Help needed: Porting std.math.internal.gammafunction

2014-07-03 Thread Johannes Pfau via Digitalmars-d
Am Thu, 03 Jul 2014 18:13:45 + schrieb John Colvin john.loughran.col...@gmail.com: On Thursday, 3 July 2014 at 17:54:17 UTC, John Colvin wrote: On Thursday, 3 July 2014 at 15:35:35 UTC, Johannes Pfau wrote: Hi, std.math.internal.gammafunction is the last module with failing