[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] Does not build on powerpc platforms (or anything with ldb
From: |
Daniel Kolesa |
Subject: |
Re: [Bug-apl] Does not build on powerpc platforms (or anything with ldbl range == dbl range) |
Date: |
Tue, 25 Jun 2019 21:20:53 +0200 |
User-agent: |
Cyrus-JMAP/3.1.6-730-g63f2c3b-fmstable-20190622v1 |
On Tue, Jun 25, 2019, at 21:08, Dr. Jürgen Sauermann wrote:
> Hi Daniel,
>
> thanks, fixed in *SVN 1177*.
>
Hello,
indeed, that fixes build. I created a relevant patch backport for my
distribution.
Regards
>
>
> Best regards,
> Jürgen
>
>
> On 6/25/19 2:10 AM, Daniel Kolesa wrote:
>> Since after 1.7 the src/Tokenizer.cc code has been changed to use
>> precomputed tables for exponent, but now the compilation fails with
Tokenizer.cc:769:4: error: floating constant exceeds range of 'long double'
[-Werror=overflow]
exp_0_9(1E30)
This is because on powerpc, depending on libc, long double is either "quad
precision" double-double format (which has the same range as an ordinary
double, just higher precision) or simply the same type as a regular double.
Reverting to the older code fixes the problem.
- q66
>>