Results 1 to 2 of 2

Thread: REAL precision

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Posts
    112

    REAL precision

    what is the maximum number of decimal places of precision in a REAL in fortran?
    thanks

  2. #2
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    It is implementation dependent.

    approximately:

    REAL*4 (single precision) is 7-8 decimal places

    REAL*8 (double precision) 15 decimal places

    REAL*16 (quad precision) 31 decimal places

    Look at your compiler doumentation

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width