bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Does not build on powerpc platforms (or anything with ldbl


From: Dr . Jürgen Sauermann
Subject: Re: [Bug-apl] Does not build on powerpc platforms (or anything with ldbl range == dbl range)
Date: Tue, 25 Jun 2019 21:08:18 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi Daniel,

thanks, fixed in SVN 1177.

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]