Displaying 9 results from an estimated 9 matches for "sizeof_double".
2019 Dec 13
3
Build failure on powerpc64
...ithmetic.c.orig 2019-12-12 18:30:12.416334062 +0000
> +++ ./src/main/arithmetic.c 2019-12-12 18:30:44.966334062 +0000
> @@ -179,7 +179,10 @@ void attribute_hidden InitArithmetic()
> #endif
> }
> -#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
> +/* PowerPC 64 (when gcc has -mlong-double-128) breaks here because
> + * of issues constant folding 128bit IBM long doubles.
> + */
> +#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE) && !__PPC64__
> static LDOUBLE q_1_eps = 1 /...
2019 Dec 13
0
Build failure on powerpc64
...> 18:30:12.416334062 +0000
> > +++ ./src/main/arithmetic.c 2019-12-12 18:30:44.966334062 +0000
> > @@ -179,7 +179,10 @@ void attribute_hidden InitArithmetic()
> > #endif
> > }
>
> > -#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
> > +/* PowerPC 64 (when gcc has -mlong-double-128) breaks here because
> > + * of issues constant folding 128bit IBM long doubles.
> > + */
> > +#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE) &&
> !__PPC64__
> >...
2005 Oct 11
3
8 char labels in read.spss
...ad long labels from the CVS
files but not from the SPSS files.
I did not have much time to search for the code but I found:
in foreign_0.8-10 source file var.h.in
> /* Definition of the max length of a short string value, generally
> eight characters. */
> #define MAX_SHORT_STRING ((SIZEOF_DOUBLE)>=8 ? ((SIZEOF_DOUBLE)+1)/2*2
> : 8)
> #define MIN_LONG_STRING (MAX_SHORT_STRING+1)
>
> /* FYI: It is a bad situation if sizeof(R_flt64) < MAX_SHORT_STRING:
> then short string missing values can be truncated in system files
> because there's only room for as many...
2019 Dec 12
0
Build failure on powerpc64
...tic long
double on ppc64.
--- ./src/main/arithmetic.c.orig 2019-12-12 18:30:12.416334062 +0000
+++ ./src/main/arithmetic.c 2019-12-12 18:30:44.966334062 +0000
@@ -179,7 +179,10 @@ void attribute_hidden InitArithmetic()
#endif
}
-#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
+/* PowerPC 64 (when gcc has -mlong-double-128) breaks here because
+ * of issues constant folding 128bit IBM long doubles.
+ */
+#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE) && !__PPC64__
static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
#else
static double q_1_eps...
2019 Dec 17
2
Build failure on powerpc64
...e:
$ svn diff -c77587
Index: src/main/arithmetic.c
===================================================================
--- src/main/arithmetic.c (Revision 77586)
+++ src/main/arithmetic.c (Revision 77587)
@@ -176,8 +176,14 @@
#endif
}
+
#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
+# ifdef __PPC64__
+ // PowerPC 64 (when gcc has -mlong-double-128) fails constant folding with LDOUBLE
+# define q_1_eps (1 / LDBL_EPSILON)
+# else
static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
+# endif
#else
static double q_1_eps = 1 / DBL_EPSILON;
#endif
------------- ------------- --------...
2012 Oct 21
1
FreeBSD installation problems
...14227 118427 config.log
jaymax-#395:# tail -30 config.log
...
...
...
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define R_INLINE inline
#define SIZEOF_INT 4
#define INT_32_BITS 1
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_DOUBLE 8
#define SIZEOF_LONG_DOUBLE 12
#define SIZEOF_SIZE_T 4
configure: exit 1
jaymax-#396:#
I then provided the compilers explicitly
./configure cc=gcc47 F77=gfortran47 CXX=g++47 FC=gfortran47
which seemed to run to completion w/ 1 SNAFU
R is now configured for i386-unkno...
2020 Mar 25
1
Build failure on powerpc64
...=======================================================
>> --- src/main/arithmetic.c (Revision 77586)
>> +++ src/main/arithmetic.c (Revision 77587)
>> @@ -176,8 +176,14 @@
>> #endif
>> }
>
>> +
>> #if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
>> +# ifdef __PPC64__
>> + // PowerPC 64 (when gcc has -mlong-double-128) fails constant folding with LDOUBLE
>> +# define q_1_eps (1 / LDBL_EPSILON)
>> +# else
>> static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
>> +# endif
>> #else
>> static double q_1...
2014 Sep 26
1
configure: error: linking to Fortran libraries from C fails
...ne HAVE_INT_FAST64_T 1
| #define HAVE_DECL_SIZE_MAX 1
| #define R_SOCKLEN_T socklen_t
| #define HAVE_STACK_T 1
| #define HAVE_INTPTR_T 1
| #define HAVE_UINTPTR_T 1
| #define R_INLINE inline
| #define SIZEOF_INT 4
| #define INT_32_BITS 1
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_SIZE_T 8
| #define HAVE_LONG_DOUBLE 1
| #define SIZEOF_LONG_DOUBLE 16
| /* end confdefs.h. */
| #define F77_DUMMY_MAIN _main
| #ifdef F77_DUMMY_MAIN
|
| # ifdef __cplusplus
| extern "C"
| # endif
| int F77_DUMMY_MAIN() { return 1; }
|
| #endif
| int
| main ()...
2020 Mar 25
0
Build failure on powerpc64
...===========================================================
> --- src/main/arithmetic.c (Revision 77586)
> +++ src/main/arithmetic.c (Revision 77587)
> @@ -176,8 +176,14 @@
> #endif
> }
> +
> #if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
> +# ifdef __PPC64__
> + // PowerPC 64 (when gcc has -mlong-double-128) fails constant folding with LDOUBLE
> +# define q_1_eps (1 / LDBL_EPSILON)
> +# else
> static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
> +# endif
> #else
> static double q_1...