in reply to Re: maximum value of a scalar
in thread maximum value of a scalar

I'm trying to compile for quadruple floats, and it's not obvious to me what the parameter is during configure. Suggestions? Thanks, Scott

Replies are listed 'Best First'.
Re^3: maximum value of a scalar
by syphilis (Archbishop) on Mar 01, 2009 at 09:38 UTC
    I'm trying to compile for quadruple floats

    What is your compiler's C data type for these "quadruple floats" ? I had assumed that, if a C compiler could handle "quadruple floats", it would be handling them as "long doubles" - in which case building with -Duselongdouble might do the trick.

    Cheers,
    Rob
      I'm using gcc on linux. Not sure what the compiler's data type for "quadruple floats" is, though "long doubles" are 16 bytes accordint to ./Configure. It seems that (2^128) should be enough. I have long doubles turned on, and general 64 bit turned on, but I still max out at 2^64 instead of 2^113. Is there an additional gcc flag I can pass in that anyone knows of to get the 2^113 limit? Thanks! Scott
        though "long doubles" are 16 bytes accordint to ./Configure

        Probably worth running a C program that will printf("%d\n", sizeof(long double));
        Then you'll know for sure.

        What does perl -V output for this build of perl ?

        Cheers,
        Rob
Re^3: maximum value of a scalar
by ikegami (Patriarch) on Mar 01, 2009 at 06:43 UTC
    Sorry, none. I have no knowledge on the topic.