Displaying 2 results from an estimated 2 matches for "quadmath".
Did you mean:
lquadmath
2016 Dec 12
1
Problem about 128bit floating-point operations in x86 machines
...ng supports __float128 type, I also tried to test using Clang
3.9 version.
However, I could not get the correct result of 128bit floating-point
operations using Clang.
For example, C source code that included operations of 128bit
floating-point is as follows:
#include <stdio.h>
#include <quadmath.h>
int main() {
__float128 a = 3.14;
char buf[128];
quadmath_snprintf(buf, sizeof(buf), "%QE", -a);
printf("%s\n", buf);
quadmath_snprintf(buf, sizeof(buf), "%QE", a * 5.0);
printf("%s\n", buf);
quadmath_snprintf(buf, sizeof(b...
2014 Sep 26
1
configure: error: linking to Fortran libraries from C fails
...at the last error in config.log, it seems to be this :
configure:23682: gcc-4.9 -std=gnu99 -fsanitize=address -o conftest
-fno-omit-frame-pointer -O0 -g -Wall -pedantic -mtune=native
-I/usr/local/include -L/usr/local/lib conftest.c -ldl -lm
-L/usr/lib/gcc/x86_64-linux-gnu/4.8 -lgfortran -lm -lquadmath >&5
/usr/lib/gcc/x86_64-linux-gnu/4.9/libasan_preinit.o:(.preinit_array+0x0): undefined
reference to `__asan_init_v3'
/tmp/cchWOhDV.o: In function `_GLOBAL__sub_I_00099_0__main':
/home/mdowle/R/Rtrunk/conftest.c:113: undefined reference to
`__asan_init_v3'
collect2: error: ld r...