NEW SCALAR AND VECTOR ELEMENTARY-FUNCTIONS FOR THE IBM SYSTEM/370

被引:23
作者
AGARWAL, RC
COOLEY, JW
GUSTAVSON, FG
SHEARER, JB
SLISHMAN, G
TUCKERMAN, B
机构
关键词
COMPUTER METATHEORY - COMPUTER PROGRAMMING LANGUAGES - FORTRAN;
D O I
10.1147/rd.302.0126
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Algorithms have been developed to compute short- and long-precision elementary functions: SIN, COS, TAN, COTAN, LOG, LOG10, EXP, POWER, SQRT, ATAN, ASIN, ACOS, ATAN2, and CABS, in scalar (28 functions) and vector (22 functions) mode. They have been implemented as part of the new VS FORTRAN library recently announced along with the IBM 3090 Vector Facility. These algorithms are essentially table-based algorithms. An important feature of these algorithms is that they produce bitwise-identical results on scalar and vector System/370 machines. Of these, for five functions the computed value result is always the correctly rounded value of the infinite-precision result. For the rest of the functions, the value returned is one of the two floating-point neighbors bordering the infinite-precision result, which implies exact results if they are machine-representable. For the five correctly rounded elementary functions, scalar and vector algorithms are designed independently to optimize performance in each case.
引用
收藏
页码:126 / 144
页数:19
相关论文
共 20 条
  • [1] BAKER A, 1975, TRANSCENDENTAL NUMBE, P6
  • [2] Cody WJ, 1980, SOFTWARE MANUAL ELEM
  • [3] CODY WJ, 1984, JUL SIAM NAT C SEATT
  • [4] CODY WJ, 1971, MATH SOFTWARE, P171
  • [5] FULLERTON W, 1982, COMMUNICATION FEB
  • [6] GAL S, 1985, UNPUB MAR INT SCI S
  • [7] PROPERLY ROUNDED VARIABLE PRECISION SQUARE ROOT
    HULL, TE
    ABRHAM, A
    [J]. ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 1985, 11 (03): : 229 - 237
  • [8] KAHAN W, 1980, UNPUB SOFTWARE SQUAR
  • [9] FORTRAN EXTENDED-PRECISION LIBRARY
    KUKI, H
    ASCOLY, J
    [J]. IBM SYSTEMS JOURNAL, 1971, 10 (01) : 39 - &
  • [10] KUKI H, 1971, MATH SOFTWARE, P187