Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Keyword argumen...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 8244 of 8908
Post > Topic >>

Keyword arguments in intrinsics

by "James Van Buskirk" <not_valid@[EMAIL PROTECTED] > May 16, 2008 at 02:15 AM

I found some places where the gfortran manual had keyword arguments
inconsistent with standard.  In all cases the actual compiler agreed
with the standard rather than gfortran do***entation:

C:\gfortran\james\intrinsics\func1>type names.f90
program names
   implicit none
   integer i
   real x
   complex z
   logical L

   i = 43
   x = 3.14
   z = (67,163)
   L = .FALSE.
   write(*,*) abs(A=x)
   write(*,*) aint(A=x)
   write(*,*) anint(A=x)
   write(*,*) ceiling(A=x)
   write(*,*) dble(A=z)
   write(*,*) float(A=i)
   write(*,*) dfloat(A=z)
   write(*,*) floor(A=x)
   write(*,*) loc(ARRAY=L)
   write(*,*) nint(A=x)
   write(*,*) real(A=i)
   write(*,*) sizeof(I=x)
end program names
C:\gfortran\james\intrinsics\func1>gfortran names.f90 -onames

C:\gfortran\james\intrinsics\func1>names
   3.1400001
   3.0000000
   3.0000000
           4
   67.000000000000000
   43.000000
   67.000000000000000
           3
              2293368
           3
   43.000000
                    4

-- 
write(*,*) transfer((/17.392111325966148d0,6.5794487871554595D-85, &
6.0134700243160014d-154/),(/'x'/)); end
 




 4 Posts in Topic:
Keyword arguments in intrinsics
"James Van Buskirk&q  2008-05-16 02:15:24 
Re: Keyword arguments in intrinsics
Tom Micevski <none@[EM  2008-05-17 13:53:23 
Re: Keyword arguments in intrinsics
"James Van Buskirk&q  2008-05-16 23:07:04 
Re: Keyword arguments in intrinsics
kargl@[EMAIL PROTECTED]   2008-05-17 05:26:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Nov 19 7:30:57 CST 2008.