Re: [Rd] [R-SIG-Mac] rnorm.halton

2009-10-11 Thread Christophe Dutang
Thanks Simon for your answers, I understand only pointer size change between 32bit and 64bit in Fortran, however my problem is with this function: C -- REAL*8 FUNCTION HQNORM(P) C USED TO CALCULATE

Re: [Rd] [R-SIG-Mac] rnorm.halton

2009-10-10 Thread Christophe Dutang
Hi all, I need to transform classic 32bit Fortran code to 64bit Fortran code, see the discussion [R-SIG-Mac] rnorm.halton. But I'm clearly a beginner in Fortran... Does someone already do this for his package? From here,

Re: [Rd] [R-SIG-Mac] rnorm.halton

2009-10-10 Thread Simon Urbanek
Christophe, you're looking at the wrong docs -- normally there is nothing you need to change FORTRAN code when switching between 32-bit and 64-bit. There is no separate 64-bit code or 32-bit code. None of the scalar types used by R in interfaces changes (int, double and INTEGER, REAL*8

Re: [Rd] [R-SIG-Mac] rnorm.halton

2009-10-10 Thread Simon Urbanek
Christophe, I forgot to answer the second part of your e-mail -- see below. On Oct 10, 2009, at 12:04 PM, Christophe Dutang wrote: Hi all, I need to transform classic 32bit Fortran code to 64bit Fortran code, see the discussion [R-SIG-Mac] rnorm.halton. But I'm clearly a beginner in