Displaying 10 results from an estimated 10 matches for "ctanh".
Did you mean:
tanh
2017 Mar 17
4
Hyperbolic tangent different results on Windows and Mac
Dear all,
We seem to have found a "strange" behaviour in the hyperbolic tangent
function tanh on Windows.
When running tanh(356 + 0i) the Windows result is NaN + 0.i while on Mac
the result is 1 + 0i. It doesn't seem to be a floating point error because
on Mac it is possible to run arbitrarily large numbers (say tanh(
2017 Mar 21
0
Hyperbolic tangent different results on Windows and Mac
...that the problem is still present there: In yesterday's version of R-devel, tanh(500+0i) still returns NaN+0i.
I now think a better solution would be to use R's internal
substitute (in R's src/main/complex.c): There, we have
------------------------------------------------
#ifndef HAVE_CTANH
#define ctanh R_ctanh
static double complex ctanh(double complex z)
{
return -I * ctan(z * I); /* A&S 4.5.9 */
}
#endif
------------------------------------------------
and we should use it (by "#undef HAVE_CTAN" (or better by a
configure check, using ctanh(&...
2011 Feb 06
1
R-devel on FreeBSD: Support for C99 complex type is required
...and is declared... no
checking whether cacos exists and is declared... no
checking whether casin exists and is declared... no
checking whether catan exists and is declared... no
checking whether ccosh exists and is declared... no
checking whether csinh exists and is declared... no
checking whether ctanh exists and is declared... no
checking whether cacosh exists and is declared... no
checking whether casinh exists and is declared... no
checking whether catanh exists and is declared... no
configure: error: Support for C99 complex type is required.
[..script stops here..]
Until 2.12.1 this works fo...
2005 Sep 10
1
FreeBSD 7.0-CURRENT and R-2.2.0 alpha
...main/complex.c:579: undefined reference to `ccosh'
complex.o(.text+0xef8): In function `z_sinh':
/usr/local/R-alpha/src/main/complex.c:584: undefined reference to `csinh'
complex.o(.text+0xf18): In function `z_tanh':
/usr/local/R-alpha/src/main/complex.c:589: undefined reference to `ctanh'
*** Error code 1
Stop in /usr/local/R-alpha/src/main.
*** Error code 1
Stop in /usr/local/R-alpha/src/main.
*** Error code 1
Stop in /usr/local/R-alpha/src.
*** Error code 1
Stop in /usr/local/R-alpha.
========================================================
Am I missing something?
Thank you...
2012 Dec 03
0
need help for R's installation
...ared... yes
checking whether cacos exists and is declared... yes
checking whether casin exists and is declared... yes
checking whether catan exists and is declared... yes
checking whether ccosh exists and is declared... yes
checking whether csinh exists and is declared... yes
checking whether ctanh exists and is declared... yes
checking for cblas_cdotu_sub in vecLib framework... no
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv... no
checking for iconvlist... no
checking for iconv... no, consider installing GNU libiconv...
2006 Jun 22
2
Error - Compiling R on a Sun V40Z - R/R-2.2.1 (PR#9024)
.... yes
checking for clog... yes
checking for csqrt... yes
checking for cpow... yes
checking for ccos... yes
checking for csin... yes
checking for ctan... yes
checking for cacos... yes
checking for casin... yes
checking for catan... yes
checking for ccosh... yes
checking for csinh... yes
checking for ctanh... yes
checking for cacosh... yes
checking for casinh... yes
checking for catanh... yes
checking whether C99 double complex is compatible with Rcomplex... no
no
checking for cblas_cdotu_sub in vecLib framework... no
checking for dgemm_... no
checking for ATL_xerbla in -latlas... no
checking for dge...
2009 Aug 20
2
getting R 2.9.1 from the tar.gz file
...s declared... yes
checking whether cacos exists and is declared... yes
checking whether casin exists and is declared... yes
checking whether catan exists and is declared... yes
checking whether ccosh exists and is declared... yes
checking whether csinh exists and is declared... yes
checking whether ctanh exists and is declared... yes
checking whether cacosh exists and is declared... yes
checking whether casinh exists and is declared... yes
checking whether catanh exists and is declared... yes
checking whether C99 double complex is compatible with Rcomplex... yes
yes
checking for cblas_cdotu_sub in...
2012 Aug 11
2
compile fails with x86_64-alpine-linux-uclibc-gcc
...s declared... yes
checking whether cacos exists and is declared... yes
checking whether casin exists and is declared... yes
checking whether catan exists and is declared... yes
checking whether ccosh exists and is declared... yes
checking whether csinh exists and is declared... yes
checking whether ctanh exists and is declared... yes
checking for cblas_cdotu_sub in vecLib framework... no
checking for dgemm_ in -L/usr/lib/blas/reference -lblas ... yes
checking whether double complex BLAS can be used... yes
checking whether the BLAS is complete... yes
checking iconv.h usability... yes
checking iconv...
2008 Dec 22
1
Error compiling R.2.8.1 with gcc 4.4 on Mac OS 10.5.6
...s declared... yes
checking whether cacos exists and is declared... yes
checking whether casin exists and is declared... yes
checking whether catan exists and is declared... yes
checking whether ccosh exists and is declared... yes
checking whether csinh exists and is declared... yes
checking whether ctanh exists and is declared... yes
checking whether cacosh exists and is declared... yes
checking whether casinh exists and is declared... yes
checking whether catanh exists and is declared... yes
checking whether C99 double complex is compatible with Rcomplex... yes
yes
checking for cblas_cdotu_sub in...
2008 Dec 29
0
Serial Correlation Test for Short Time Series
...s declared... yes
checking whether cacos exists and is declared... yes
checking whether casin exists and is declared... yes
checking whether catan exists and is declared... yes
checking whether ccosh exists and is declared... yes
checking whether csinh exists and is declared... yes
checking whether ctanh exists and is declared... yes
checking whether cacosh exists and is declared... yes
checking whether casinh exists and is declared... yes
checking whether catanh exists and is declared... yes
checking whether C99 double complex is compatible with Rcomplex... yes
yes
checking for cblas_cdotu_sub in...