similar to: why double precision in R?

Displaying 20 results from an estimated 70000 matches similar to: "why double precision in R?"

2009 Mar 30
1
what is R equivalent of Fortran DOUBLE PRECISION ?
I noticed taht R cannot understand certain Fortran real constant formats. For instance: c14 <- as.double( 7.785205408500864D-02) Error: unexpected symbol in " c14 <- as.double( 7.785205408500864D" The above "D" is used in Fortran language to indicate the memory starage mode. That is for instructing Fortran compiler to store such a REAL constant in DOUBLE
2007 Dec 05
2
Displaying numerics to full double precision
I'm working on a shared library of C functions for use with R, and I want to create a matrix in R and pass it to the C routines. I know R computes and supposedly stores numerics in double precision, but when I create a matrix of random numerics using rnorm(), the values are displayed in single precision, and also exported in single precision when I pass them out to my C routines. An example
2013 Jul 29
0
[LLVMdev] Libcall for double precision comparison.
Hi folks How to place libcall for double precision number comparison. My machine does not have double precision comparison code but llvm is using single precision condition code deliberately. How to solve the problem. Regards VSP -- View this message in context: http://llvm.1065342.n5.nabble.com/Libcall-for-double-precision-comparison-tp59902.html Sent from the LLVM - Dev mailing list
2008 Jul 17
0
Re : Re : float and double precision with C code
ok, sorry, my mistake was the C printf. Thank you for your good answer Regards ----- Message d'origine ---- De : JS Ubei <jsubei at yahoo.fr> ? : jim holtman <jholtman at gmail.com> Cc : r-help at r-project.org Envoy? le : Jeudi, 17 Juillet 2008, 15h25mn 07s Objet : [R] Re : float and double precision with C code thank you for your quick answer, I'm far of the digits
2012 Apr 10
1
Double precision calculation
Dear all, Does R use double precision for calculation as default? If not, how to enforce double precision calculation in R for my current calculation session? I Use R-2.14.0 with windows XP. Thanks,
2008 Jul 17
0
Re : float and double precision with C code
thank you for your quick answer, I'm far of the digits capacity and my values are not the result of a computation. I'm developping a R package to acces a specific data source. And I need precision a few better. How can I do ? When I try this In R console, this is correct and what I need : > my_value <- 29.958334 > my_value == 29.958334 [1] TRUE But I need to do the first
2009 May 07
2
64 bit R double precision
Hi, If R is compiled for a 64 bit platform, does the double data type make use of the additional precision or is it set at a fixed length? Thanks, Paul
2006 Dec 05
1
double precision
Hi, I am attempting to query a data frame from a mysql database. One of the variables is a unique identification number ("numeric") 18 digits long. I am struggling to retrieve this variable exactly without any rounding. The function I am using is sqlQuery(), with an ODBC connection. Querying directly results in the double being rounded towards the end (eg 6527600583317876352 instead of
2008 Apr 29
1
behaviour of .Fortran in terms of "double precision" and "real" datatype
Hello R-world! This is my first post to the R list, so I feel that I need to say thanks to the community (I'm using R now for 5 months)! I'd greatly appreciate if somebody could explain some odd behavior of ".Fortran" to me. Let's assume a primitive Fortran subroutine barfoo.f ---------------------------- subroutine bar(y, v) double precision y real v
2012 Mar 22
3
calling java from R and using java time series double precision array
I haven't had time to try using R for over a year, but have a colleage who wants to. We work with time series and our current version of our calendar-time subroutines in java converts both directions between linear time and calendar. We have used calendar time since year 1965 starting out then with Fortran. Calendar time can be CnYrMoDa | CnYrMoDaHr | CnYrMoDaHrMn | CnYrMoDaHrMnSc |
2003 Oct 09
1
double precision
Hi, I am new to R, but have extensive experience in matlab. I have searched on the web and in Venabels & Ripley book but I was unable to find the equivalent of the eps function in matlab. eps returns the Floating point relative accuracy. thanks
2009 Oct 27
1
Poisson dpois value is too small for double precision thus corrupts loglikelihood
Hi - I have a likelihood function that involves sums of two possions: L = a*dpois(Xi,theta1)*dpois(Yi,theta2)+b*(1-c)*a*dpois(Xi,theta1+theta3)*dpois(Yi,theta2) where a,b,c,theta1,theta2,theta3 are parameters to be estimated. (Xi,Yi) are observations. However, Xi and Yi are usually big (> 20000). This causes dpois to returns 0 depending on values of theta1, theta2 and theta3. My first
2011 Nov 17
2
read.table with double precision
Dear all I have a txt file with the following contents 1 50.7906430000000 6.06349800000000 2 50.7907380000000 6.06347100000000 3 50.7910810000000 6.06338000000000 4 50.7911890000000 6.06355200000000 I am usind read.table('myfile.txt',sep=" ") which unfortunately returns only integers and not doubles that are required to store theĀ  50.7906430000000 What can I do to force it
2015 Feb 23
0
[PATCH 2/2] nvc0/ir: improve precision of double RCP/RSQ results
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- Not sure how many steps are needed for the necessary accuracy. Just doing 2 because that seems like a reasonable number. .../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 42 ++++++++++++++++++++-- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
2015 Feb 23
0
[Mesa-dev] [PATCH 2/2] nvc0/ir: improve precision of double RCP/RSQ results
Oh right. I think the NVIDIA blob executes those steps conditionally based on the upper bits not being 0x7ff (== infinity/nan). I should do the same thing here. [FWIW I was able to test the nv50 code last night and that one's a total fail for rcp/rsq... will need to port that over to my nvc0 and debug there.] On Mon, Feb 23, 2015 at 8:24 AM, Roland Scheidegger <sroland at vmware.com>
2009 Oct 30
3
possible to increase precision
I would like to increase the precision/accuracy of R. That is, I'm dealing with numbers exceedingly close to 1, and I would like to increase the number of significant digits used in computation. In matlab, you can use vpa() to accomplish this. I'm wondering if there's an equivalent or a workaround in R. Greg
2014 Jan 18
2
Re: Double fault panic in L2 upon v2v conversion
Hey everybody, Richard, you were right. I managed to reproduce the same crash without dealing with v2v (and libguestfs). Actually - it's reproducible really ease - I write a big file to /tmp on L0 (till it 100% full) and then run a L2 VM. Almost every time it crushes with double fault. Debugging, debugging and more debugging. Marcelo/Paolo, if you have any clue, I would like to hear from you.
2015 Apr 22
2
"keep qlp coeff precision such that only 32-bit math is required"
Martijn van Beurden wrote: > Yes, but that MAX value is used to loop over the > qlp_coeff_precision values between MIN and MAX. So, if the > qlp_coeff_precision value is limited in the loop but MAX is not > limited, the loop does the exact same thing multiple times: a > waste of time. Therefore, only the MAX should be limited. > > I don't think the logic is needed
2007 Nov 05
1
question about running out of memory on R
Hi all, R newbie, but have been reading the boards and learning lots. I have read all documents & list-serve responses I could about R and memory but still no answer. QUESTION: When the sizes of your objects exceeds your available RAM, R switches to Virtual Memory right? If so, why does it so often run out of memory and return an "unable to allocate XXX KB" error shortly after
2008 Nov 15
1
Using n+1 instances of R to utilise n processors on one machine - something like R with tabbed browsing?
Dear R-help, Please forgive me if any of the following sounds naieve/confused, i've just got back from a mini-pub-crawl, slightly tipsy, and am feeling brave to ask a possibly silly question... also, not to shiny on the technical side of things. Problem - I need to text mine a collection of 10,000 plain text documents, all of which are sitting in a single folder. i don't have any money