CONTENTS Title Page Copyright Page Preface 1 Introduction to MTH$ 1.1 Entry Point Names 1.2 Calling Conventions 1.3 Algorithms 1.4 Condition Handling 1.5 Complex Numbers 1.6 Mathematics Routines Not Documented in the MTH$ Reference Section 1.7 Examples of Calls to Run-Time Library Mathematics Routines 1.7.1 BASIC Example 1.7.2 COBOL Example 1.7.3 FORTRAN Examples 1.7.4 MACRO Examples 1.7.5 Pascal Examples 1.7.6 PL/I Examples 1.7.7 Ada Example 2 Vector Routines in MTH$ 2.1 BLAS - Basic Linear Algebra Subroutines Level 1 2.1.1 Using the BLAS Level 1 2.1.1.1 Memory Overlap 2.1.1.2 Round-Off Effects 2.1.1.3 Underflow and Overflow 2.1.1.4 Notational Definitions 2.2 FOLR - First Order Linear Recurrence Routines 2.2.1 FOLR Routine Name Format 2.2.2 Calling a FOLR Routine 2.3 Vector Versions of Existing Scalar Routines 2.3.1 Exceptions 2.3.2 Underflow Detection 2.3.3 Vector Routine Name Format 2.3.4 Calling a Vector Math Routine 2.4 Fast-Vector Math Routines 2.4.1 Exception Handling 2.4.2 Special Restrictions On Input Arguments 2.4.3 Accuracy 2.4.4 Performance Scalar MTH$ Reference Section MTH$xACOS MTH$xACOSD MTH$xASIN MTH$xASIND MTH$xATAN MTH$xATAND MTH$xATAN2 MTH$xATAND2 MTH$xATANH MTH$CxABS MTH$CCOS MTH$CxCOS MTH$CEXP MTH$CxEXP MTH$CLOG MTH$CxLOG MTH$CMPLX MTH$xCMPLX MTH$CONJG MTH$xCONJG MTH$xCOS MTH$xCOSD MTH$xCOSH MTH$CSIN MTH$CxSIN MTH$CSQRT MTH$CxSQRT MTH$CVT_x_x MTH$CVT_xA_xA MTH$xEXP MTH$HACOS MTH$HACOSD MTH$HASIN MTH$HASIND MTH$HATAN MTH$HATAND MTH$HATAN2 MTH$HATAND2 MTH$HATANH MTH$HCOS MTH$HCOSD MTH$HCOSH MTH$HEXP MTH$HLOG MTH$HLOG2 MTH$HLOG10 MTH$HSIN MTH$HSIND MTH$HSINH MTH$HSQRT MTH$HTAN MTH$HTAND MTH$HTANH MTH$xIMAG MTH$xLOG MTH$xLOG2 MTH$xLOG10 MTH$RANDOM MTH$xREAL MTH$xSIN MTH$xSINCOS MTH$xSINCOSD MTH$xSIND MTH$xSINH MTH$xSQRT MTH$xTAN MTH$xTAND MTH$xTANH MTH$UMAX MTH$UMIN Vector MTH$ Reference Section BLAS1$VIxAMAX BLAS1$VxASUM BLAS1$VxAXPY BLAS1$VxCOPY BLAS1$VxDOTx BLAS1$VxNRM2 BLAS1$VxROT BLAS1$VxROTG BLAS1$VxSCAL BLAS1$VxSWAP MTH$VxFOLRy_MA_V15 MTH$VxFOLRy_z_V8 MTH$VxFOLRLy_MA_V5 MTH$VxFOLRLy_z_V2 A Additional MTH$ Routines B Vector MTH$ Routine Entry Points TABLES 1-1 Additional Mathematics Routines 2-1 Functions of the BLAS Level 1 2-2 Determining the FOLR Routine You Need 2-3 Vector Routine Format - Underflow Signaling Enabled 2-4 Vector Routine Format - Underflow Signaling Disabled 2-5 Fast-Vector Math Routines 2-6 Input Argument Restrictions A-1 Additional MTH$ Routines B-1 Vector MTH$ Routines