Since 5/3/2012 1:07:14 PM, sgk has written 1 articles and participated in 131 conversations. sgk signature: sgk
sgk's articles:
Items(1) /1
namelist group name and save attribute439 (10/29/2011 4:00:48 AM) comp.lang.fortran A bug report was submitted to the gcc bugzilla stating that the following code should produce an error: program foo namelist /i/ ii save i end program foo because the namelist group name is in... Steven
sqrtl(), etc. for Cygwin2930 (11/7/2012 6:40:56 PM) comp.lang.c I've been using Cygwin lately, and am largely satisfied.
It has gcc, but lacks sqrtl(), atan2l(), etc.
What's the recommended remedy?
I Googled "source sqrtl" and got to codeforge.com
but only AFTER passi... jdallen2000(489)
Can't explain this?2950 (9/18/2012 1:23:30 PM) comp.lang.fortran I've been translating some Runge-Kutta vibration analysis code from C
to Fortran 2003/08. Finally, I got it up and running - all was fine.
The C code and Fortran code were producing nearly identical numbers.... john.chludzinski(61)
Ranq1 from numerical recepies31674 (9/17/2012 3:18:22 PM) comp.lang.fortran Dear friends,
I am in need of a "good" random number, for which, I have used LCG for
long.=20
Recently I found some problem in my application, probably due to the
random number. Before going to marseglia, I... bnrj.rudra(343)
Bessel function computation with SLATEC ( AMOS routines)20103 (9/16/2012 4:39:43 PM) comp.lang.fortran Hi,
I am trying to compute the Bessel function(s) using the SLATEC Amos library available on Netlib. Here is the code I use. The arguments for routine CBESY by Amos are explained in comments header.
c******... gcdiwan(52)
Intrinsic function for dp vs sp?2161 (9/11/2012 3:09:47 AM) comp.lang.fortran Searching on the web I found some sites that show cos() for sp and
dcos() for dp. The GNU Fortran site seems to indicate that dcos() is
deprecated ("archaic")? Are there different calls for sp vs. dp for
t... john.chludzinski(61)
CHE Calculations: Double summation1756 (9/7/2012 2:26:32 AM) comp.lang.fortran Frequently in Chemical Engineering Calculations that involve phase equilibrium we need to perform the following summation:
Sum(i)[x(i)*[Sum(j)x(j)*a(i,j)]]
where a(i,j)=sqrt(b(i)b(j)c(i)c(j))*(1-k(i,j))
... michael.caracotsios1(9)
gdb & gfortran ?21100 (9/6/2012 1:57:18 AM) comp.lang.fortran I compiled my fortran code with gfortran using the -g option. I then use GDB with the resulting image/executable. When I try "b read_white_noise_file" I get:
Function "read_white_noise_file" not defined.
... john.chludzinski(61)