z/OS Language Environment Writing Interlanguage Communication Applications
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Extended floating-point number

z/OS Language Environment Writing Interlanguage Communication Applications
SA38-0684-00

Sample Fortran usage PL/I function
REAL*16 X, Y, F2PPEFP
X = 12.1Q0
Y = F2PPEFP(X)
PRINT *,
1  'VALUE RETURNED TO FORTRAN:', Y
END
 
F2PPEFP: PROC (X) OPTIONS(FORTRAN)
      RETURNS(FLOAT DEC(33));
  DCL X       FLOAT DEC(33);
  PUT SKIP
      LIST('PL/I ARG VALUE:', X);
  RETURN (X);
END F2PPEFP;
 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014