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

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

Replies are listed 'Best First'.
Re^4: maximum value of a scalar
by Anonymous Monk on Mar 02, 2009 at 05:57 UTC
    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