Quadruple Precision

soofi@ucalgary.ca soofi@ucalgary.ca
Wed Jan 12 02:25:00 GMT 2005


Hello,

Is it possible to compile the following simple program in quadruple
precision using g95 or any other gnu fortran compiler?

      Program tstifc
      real(16) a,c
      print *, " Hello World"
      a = qacos(-1.0q0)
      print *,"a = ", a
      c = qsin(a/4.0q0)
      print *,"c = ", c
      Stop
      end

Your response would be highly appreciated.

Sincerely,
Muhammad Asif Soofi



More information about the Fortran mailing list