These subprograms are quadruple-precision (REAL*16) math functions and subroutines.
In general, these do not correspond to standard generic intrinsic functions; data types are determined by the usual data typing rules.
The quadruple precision functions must appear in a REAL*16 statement
Table 1–4 Quadruple-Precision libm Functions
Function Name |
Return Type |
---|---|
REAL*16 REAL*16 REAL*16 REAL*16 |
|
INTEGER INTEGER INTEGER INTEGER INTEGER INTEGER INTEGER INTEGER INTEGER |
|
REAL*16 REAL*16 REAL*16 REAL*16 REAL*16 REAL*16 REAL*16 REAL*16 REAL*16 |
The variables c, l, p, s, u, x, and y are of type quadruple precision. Variable n is of type INTEGER.
Explicitly type these functions with a REAL*16 statement or with an appropriate IMPLICIT statement.
sind(x), asind(x), … take degrees rather than radians.
If you need to use any other quadruple-precision libm function, you can call it using $PRAGMA C(fcn) before the call. For details, see the chapter on the C–Fortran interface in the Fortran Programming Guide.