search for: powl

Displaying 18 results from an estimated 18 matches for "powl".

Did you mean: poll
2020 Nov 17
3
formatting issue with gcc 9.3.0 on Ubuntu on WSL2
...nt without a hitch but the tests showed that deparse(1e-16) produced "1.00000000000000e-16" instead of the expected "1e-16". It looks like the problem is in src/main/format.c:scientific(). The lowest two+ bytes in the fractional part of the long double (80-bit) return value of powl(10.0L, -30L), seem to be corrupted. I made a standalong program to test powl and saw no problem - it gives the same results for the fractional part as bc does. bc: A2425FF7 5E14FC31 A125... standalone: 22425FF7 5E14FC32 R: 22425FF7 5E151800 There are lots of other small numbers...
2015 Sep 14
1
Optimization bug when byte compiling with gcc 5.2.0 on windows
...lot of problems > that were not there before. In particular R crashes when using the > graphics device, which it did not without this fix. I found that the problem goes away when we use isnanl() instead of isnan(). This is very similar to the problem we have for R_pow() where we need to use powl() instead of pow() for recent versions mingw-w64 (this still needs to be patched in r-devel). So the full solution is: #if (defined(_WIN32) || defined(_WIN64)) && defined(__GNUC__) # define R_sqrt(x) (isnanl(x) ? x : sqrt(x)) #else # define R_sqrt sqrt #endif Below the relevant mingw-w64...
2020 Nov 18
2
formatting issue with gcc 9.3.0 on Ubuntu on WSL2
...rse(1e-16) > > produced "1.00000000000000e-16" instead of the expected "1e-16". > > > > It looks like the problem is in src/main/format.c:scientific(). The > > lowest two+ bytes in the fractional part of the long double (80-bit) > > return value of powl(10.0L, -30L), seem to be corrupted. I made a > > standalong program to test powl and saw no problem - it gives the > > same results for the fractional part as bc does. > > > > bc: A2425FF7 5E14FC31 A125... > > standalone: 22425FF7 5E14FC32 > >...
2020 Nov 18
0
formatting issue with gcc 9.3.0 on Ubuntu on WSL2
...he tests showed that deparse(1e-16) > produced "1.00000000000000e-16" instead of the expected "1e-16". > > It looks like the problem is in src/main/format.c:scientific(). The > lowest two+ bytes in the fractional part of the long double (80-bit) > return value of powl(10.0L, -30L), seem to be corrupted. I made a > standalong program to test powl and saw no problem - it gives the > same results for the fractional part as bc does. > > bc: A2425FF7 5E14FC31 A125... > standalone: 22425FF7 5E14FC32 > R: 22425FF7 5E151800 > &gt...
2011 Jun 24
1
Installation of bigmemory fails
...haredCounter.cpp -o SharedCounter.o g++45 -I/usr/local/lib/R/include -I../inst/include -fpic -O2 -fno-strict-aliasing -pipe -Wl,-rpath=/usr/local/lib/gcc45 -c b\ igmemory.cpp -o bigmemory.o bigmemory.cpp: In function 'bool TooManyRIndices(index_type)': bigmemory.cpp:40:27: error: 'powl' was not declared in this scope *** Error code 1 Stop in /tmp/Rtmpxwe3p4/R.INSTALL4f539336/bigmemory/src. ERROR: compilation failed for package 'bigmemory' * removing '/usr/local/lib/R/library/bigmemory' The downloaded packages are in '/tmp/RtmpMZCOVp/downloaded_pa...
2015 Sep 14
2
Optimization bug when byte compiling with gcc 5.2.0 on windows
On 14/09/2015 9:36 AM, luke-tierney at uiowa.edu wrote: > I believe the issue is that on Windows the sqrt function when called > with a NaN does not return the same NaN, as it does on other platforms. > We have > > #if (defined(_WIN32) || defined(_WIN64)) && defined(__GNUC__) && \ > __GNUC__ <= 4 > # define R_sqrt(x) (ISNAN(x) ? x : sqrt(x)) > #else
2010 Feb 28
1
Fw: trouble setting up kebo-1000d ups (usb)
----- Forwarded Message ---- From: Terry Powling <terrypowling at yahoo.co.uk> To: nut-upsuser at lists.alioth.debian.org Sent: Sat, 27 February, 2010 22:30:05 Subject: trouble setting up kebo-1000d ups (usb) Trying to setup Kebo ups-1000D with usb port. lsusb Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Devi...
2018 Feb 06
2
libc++ cross-compile linux-armv7 and math function problems
...ble __lcpp_x, long double* __lcpp_y) _NOEXCEPT {return ::modfl(__lcpp_x, __lcpp_y);} ^~ ../projects/libcxx/include/math.h: In function 'long double pow(long double, long double)': ../projects/libcxx/include/math.h:958:112: error: '::powl' has not been declared inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::powl(__lcpp_x, __lcpp_y);} ^~ ../projects/libcxx/include/math.h: In function 'long double sin(long do...
2018 Feb 06
0
libc++ cross-compile linux-armv7 and math function problems
..._lcpp_y);} > ^~ > ../projects/libcxx/include/math.h: In function 'long double pow(long double, long double)': > ../projects/libcxx/include/math.h:958:112: error: '::powl' has not been declared > inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::powl(__lcpp_x, __lcpp_y);} > ^~ > ....
2018 Feb 06
1
libc++ cross-compile linux-armv7 and math function problems
...__lcpp_y) _NOEXCEPT {return ::modfl(__lcpp_x, __lcpp_y);} > > > ^~ > > ../projects/libcxx/include/math.h: In function 'long double pow(long > double, long double)': > > ../projects/libcxx/include/math.h:958:112: error: '::powl' has not been > declared > > inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __lcpp_x, > long double __lcpp_y) _NOEXCEPT {return ::powl(__lcpp_x, __lcpp_y);} > > > ^~ > > ../projects/libcxx/include/math.h: In functi...
2018 Feb 05
0
Cross-compiling libc++ to linux-armv7hf gives undefined symbols in cmath / math.h
...ne _LIBCPP_INLINE_VISIBILITY long double modf(long double __lcpp_x, long double* __lcpp_y) _NOEXCEPT {return ::modfl(__lcpp_x, __lcpp_y);} ^~ ../projects/libcxx/include/math.h: In function 'long double pow(long double, long double)': ../projects/libcxx/include/math.h:958:112: error: '::powl' has not been declared inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT {return ::powl(__lcpp_x, __lcpp_y);} ^~ ../projects/libcxx/include/math.h: In function 'long double sin(long double)': ../projects/libcxx/include/math.h:981:90...
2005 Apr 28
0
[LLVMdev] SimplifyLibCalls Pass -- Help!
...trlen(y) <= l) * memcpy(x,y,1) -> *x - *y memcpy: * memcpy(d,s,0,a) -> d memmove: * memmove(d,s,l,a) -> memcpy(d,s,l,a) (if s is a global constant array) memset: * memset(s,c,0) -> noop * memset(s,c,n) -> store s, c (for n=1,2,4,8) pow, powf, powl: * pow(1.0,y) -> 1.0 * pow(x,0.0) -> 1.0 * pow(x,1.0) -> x * pow(x,-1.0) -> 1.0/x * pow(x,0.5) -> sqrt(x) * pow(cst1,cst2) -> const1**const2 * pow(exp(x),y) -> exp(x*y) * pow(sqrt(x),y) -> pow(x,y*0.5) * pow(pow(x,y),z)-> pow...
2012 Aug 02
2
[LLVMdev] Proposal to merge SimplifyLibCalls into InstCombiner
.... `SimplifyLibCalls`: strcat, strncat, strchar, strrchr, strcmp, strncmp, strcpy, strncpy, strlen, strpbrk, strtol, strtod, strtof, strtoul, strtoll, strtold, strtoull, strtold, strtoull, strspn, strcspn, strstr, memcmp, memcpy, memmove, memset, __strcpy_chk, cosf, cos, cosl, powf, pow, powl, llvm.pow.f32, llvm.pow.f64, llvm.pow.f80, llvm.pow.f128, llvm.pow.ppcf128, exp21, exp2, exp2f, llvm.exp2.ppcf128, llvm.exp2.f128, llvm.exp2.f80, llvm.exp2.f64, llvm.exp2.f32, floor, cell, round, rint, nearbyint, ffs, ffsl, ffsll, abs, labs, llabs, isdigit, isascii, toascii, sprintf, pr...
2009 Mar 23
2
[LLVMdev] Problem Compiling Test-suite
Hello, I am new in using llvm so I would like to get some help on how to compile test-suite. Assumptions: llvm is in /llvm directory llvm-gcc is in /llvm-4.2-2.4-x86-linux-RHEL4/bin I have tried compiling test-suite and I get the following error: $make make[1]: Entering directory '/llvm/projects/test-suite/SingleSource' make[2]: Entering directory
2012 Dec 03
0
need help for R's installation
...yes checking whether log1p exists and is declared... yes checking whether log2 exists and is declared... yes checking whether log10 exists and is declared... yes checking whether nearbyint exists and is declared... yes checking whether nearbyintl exists and is declared... yes checking whether powl exists and is declared... yes checking whether rint exists and is declared... yes checking whether rintl exists and is declared... yes checking whether va_copy exists and is declared... yes checking for isblank... yes checking for fseeko... yes checking for ftello... yes checking for matherr...
2020 Mar 13
0
Wine release 5.4
...trieve the proper 'this' object for bytecodes with named items. Giovanni Mascellani (2): d2d1: Implement ellipse and rounded rectangle filling with arcs. d2d1: Implement ellipse and rounded rectangle stroking with arcs. Hans Leidekker (1): configure: Get rid of an unused powl check. Henri Verbeet (2): d3d8: Avoid checking the stage index in d3d8_device_GetTextureStageState() (Coverity). d3d9: Avoid a dead assignment in d3d9_device_SetStreamSource() (Coverity). Jacek Caban (27): ucrtbase: Add exe entry points implementation. msvcrt: Silence wide...
2009 Apr 26
4
1.6.1: menuselect has problems with x86_64 ??
1.6.1 svn 190575: CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect make[1]: Entering directory `/home/asterisk/rpmbuild/BUILD/asterisk-1.6.1/menuselect' gcc -m64 -march=native -mtune=native -floop-interchange -floop-strip-mine -floop-block -c -o
2012 Aug 11
2
compile fails with x86_64-alpine-linux-uclibc-gcc
...ed... yes checking whether log1p exists and is declared... yes checking whether log2 exists and is declared... yes checking whether log10 exists and is declared... yes checking whether nearbyint exists and is declared... yes checking whether nearbyintl exists and is declared... yes checking whether powl exists and is declared... yes checking whether rint exists and is declared... yes checking whether rintl exists and is declared... yes checking whether va_copy exists and is declared... yes checking for isblank... yes checking for fseeko... yes checking for ftello... yes checking for matherr... no...