search for: iec60559

Displaying 20 results from an estimated 20 matches for "iec60559".

2006 Jun 06
3
build R with Visual Studio
Hi, Has anyone had success in building R source with Visual Studio? I followed the instructions in README.packages, but failed on the very first step, where it's looking for R.dll. I looked through R source and couldn't find the file. Can someone point me to where this file is located or generated? Thanks! Sincerely, Jennifer
2006 Jun 06
3
build R with Visual Studio
Hi, Has anyone had success in building R source with Visual Studio? I followed the instructions in README.packages, but failed on the very first step, where it's looking for R.dll. I looked through R source and couldn't find the file. Can someone point me to where this file is located or generated? Thanks! Sincerely, Jennifer
2004 Nov 05
1
fast partial spectral decompositions.
hello, i want to compute the top k eigenvalues+eigenvectors of a (large) real symmetric matrix. since it doesn't look like any top-level R function does this, i'll call LAPACK from a C shlib and then use .Call. the only LAPACK function i see to do this in R_ext/Lapack.h is dsyevx. however, i know that in LAPACK dsyevr can also return a partial eigendecomposition. why is dsyevr not
2004 Nov 05
1
fast partial spectral decompositions.
hello, i want to compute the top k eigenvalues+eigenvectors of a (large) real symmetric matrix. since it doesn't look like any top-level R function does this, i'll call LAPACK from a C shlib and then use .Call. the only LAPACK function i see to do this in R_ext/Lapack.h is dsyevx. however, i know that in LAPACK dsyevr can also return a partial eigendecomposition. why is dsyevr not
2017 Apr 06
3
failure of make check-all
...#39;./lapack.Rout.save' ... OK running code in 'datasets.R' ... OK comparing 'datasets.Rout' to './datasets.Rout.save' ... OK running code in 'datetime.R' ... OK comparing 'datetime.Rout' to './datetime.Rout.save' ... OK running code in 'iec60559.R' ... OK comparing 'iec60559.Rout' to './iec60559.Rout.save' ... OK make[3]: Leaving directory '/usr/local/src/R-devel/tests' make[2]: Leaving directory '/usr/local/src/R-devel/tests' make[2]: Entering directory '/usr/local/src/R-devel/tests' running...
2017 Apr 06
0
failure of make check-all
...e' ... OK > running code in 'datasets.R' ... OK > comparing 'datasets.Rout' to './datasets.Rout.save' ... OK > running code in 'datetime.R' ... OK > comparing 'datetime.Rout' to './datetime.Rout.save' ... OK > running code in 'iec60559.R' ... OK > comparing 'iec60559.Rout' to './iec60559.Rout.save' ... OK > make[3]: Leaving directory '/usr/local/src/R-devel/tests' > make[2]: Leaving directory '/usr/local/src/R-devel/tests' > make[2]: Entering directory '/usr/local/src/R-devel/t...
2002 Aug 12
1
division by zero
Why does 1/0 return Inf? Shouldn't this be returning NaN, NA, or something similar? -- +++++++++++*******+++++***++* Andrew Schuh Environmental Mathematician Neptune and Co. (505) 884-8455 andys at neptuneinc.org +++++++++++*******+++++***++* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2007 May 25
0
documented/undocumented behavior of as.double(formatC(x, digits=17))
...ctice') to be accurate to more than *_DIG places, > which as ?as.character has pointed out is 15 on the machines R runs on. > > It really is the case that writing out a number to > 15 significant digits > and reading it back in again is not required to give exactly the same > IEC60559 (sic) number, and furthermore there are R platforms for which > this does not happen. I think that this implies that preserving the exact double value in formatC does not follow from C99 standard. Is there some other (e.g. platform specific) documentation that implies this or it has to be used...
2013 Oct 02
0
For numeric x, as.character(x) doesn't always match signif(x, 15)
...r 'as.character' in R states this in "Details" section. 'as.character' represents real and complex numbers to 15 significant digits (technically the compiler's setting of the ISO C constant 'DBL_DIG', which will be 15 on machines supporting IEC60559 arithmetic according to the C99 standard). This ensures that all the digits in the result will be reliable (and not the result of representation error), but does mean that conversion to character and back to numeric may change the number. If you want to convert numbers to char...
2002 Jan 16
1
factorials
I'm a total newbie at using R, and so there probably is a better way to do this. However, I couldn't find one, and so maybe this will help someone. I was calculating log-likelihoods using a multinomial model, and found that for large n, prod(n:1) wouldn't work to calculate factorials (e.g., prod(200:1) = Inf). The below function calculates the natural log of a factorial (e.g.
2005 Sep 23
1
as.character on OS X tiger
Hi, When I run this example code on a G5 the last digit is dropped off on a binary installation of R (R.app), whereas on a linux machine the digit is not removed. # Code: a <- seq(0,1, length=1000)[12] a as.character(a) as.character(as.numeric(as.character(a))) # Results I get: a <- seq(0,1, length=1000)[12] > a [1] 0.01101101 > > as.character(a) [1]
2008 Jun 18
3
Number of digits in paste funciton
Hi! Does anyone know hot to set number of digits to be printed in function 'paste'? Tine Mla?
2012 Mar 13
0
111 FIXMEs in main/src
...racter.c: /* FIXME: could use R_Realloc instead */ character.c- cbuf = CallocCharBuf(strlen(tmp) + 1); -- character.c: /* FIXME use this buffer for new string as well */ character.c- wc = (wchar_t *) -- coerce.c:/* FIXME: Use coerce.c- ===== -- complex.c:/* FIXME: maybe add full IEC60559 support */ complex.c-static double complex clog(double complex x) -- complex.c:/* FIXME: check/add full IEC60559 support */ complex.c-static double complex cexp(double complex x) -- connections.c: /* FIXME: is this correct for consoles? */ connections.c- checkArity(op, args); -- connections.c...
2008 Feb 19
3
Incorrect paste() output (PR#10801)
Hello, I am writing this message because of an incorrect output by paste(). Please try the following script to see if the evidence I collected is reproducible: x <- c(10152, 28177); y <- c(9576, 26625); d <- y - x; d; [1] -576 -1552 paste(d, collapse = ", "); [1] "-576, -1552" x <- x / 1000; y <- y / 1000; d <- y - x; d; [1] -0.576 -1.552 paste(d,
2011 Nov 21
1
Fortran runtime error with package cts on CRAN/Mac
Hello, As the author of package cts, I hope somebody on this list can kindly help (perhaps off-list) to resolve the build/check issue with package cts for Mac. The error occurred on Mac machines only: http://cran.r-project.org/web/checks/check_results_cts.html. Here is the error message: At line 10 of file machine.f Fortran runtime error: Range error during floating point read The source
2005 Jul 12
2
what is the .Machine$double.xmin for a 64 bit machine?
I use a 32 bit machine. For those using 64 bit machines, what is the .Machine$double.xmin for for machines? regards. Stephen. ----- Original Message ----- From: Achim Zeileis <Achim.Zeileis at wu-wien.ac.at> Date: Tuesday, July 12, 2005 10:51 am Subject: Re: [R] exact values for p-values - more information. > On Tue, 12 Jul 2005, S.O. Nyangoma wrote: > > > > If they
2005 Sep 27
0
Make test fails in d-p-q-r-tests...
...x), ex) > qcauchy(ex, log=TRUE) > > The first entry of the result should be Inf and the last -Inf. From the > output you have shown us I would guess the last is NaN. > > If this is what is going on, it is a problem but a somewhat esoteric one that > probably reflects a lack of IEC60559 (aka IEEE754) conformance. It needs > more hands-on debugging than we can provide on a help list. Anything I can do to help debug this? I am not a C programmer, but I do have an interest in getting R running. Jeff Ross
2005 Feb 19
2
Warnings by functions mean(), median()
Hello, following functions doesnt work correct with my data: median(), geo.mean(). My datafiles contain more than 10.000 lines and six columns from a flow-cytometer-measurment. I need the arithmetic and geometric mean and median. For the calculation of the geometric mean i wrote following function: fix(geo.mean) function(x) { n<-length(x)
2008 Feb 07
5
pnorm
Dear R list, I calculated a two-sided p values according to 2*(1-pnorm(8.104474)), which gives 4.440892e-16. However, it appears to be 5.30E-16 by a colleague and 5.2974E-16 from SAS. I tried to get around with mvtnorm package but it turns out to be using pnorm for univariate case. I should have missed some earlier discussions, but for the moment is there any short answer for a higher
2010 Apr 15
4
Does "sink" stand for anything?
Hello Everyone,   Learning about R and its wonderful array of functions. If it's not obvious, I usually try to find out what a function stands for. I think this helps me remember better.   One function that has me stumped is "sink." Can anyone tell me if this stands for something?   Thanks,   Paul         __________________________________________________ [[alternative HTML