PROFIL/BIAS - A FAST INTERVAL LIBRARY

被引:132
作者
KNUPPEL, O
机构
[1] Technische Informatik III, Technische Universität Hamburg-Harburg, Hamburg
关键词
INTERVAL LIBRARY; IEEE-754 ARITHMETIC STANDARD; C; C++;
D O I
10.1007/BF02307379
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The interval data type is currently not supported in common programming languages. Therefore the implementation of algorithms using interval arithmetic requires special programming environments or at least special libraries. In this paper we present the C++ class library PROFIL which provides a user friendly environment for implementing interval algorithms. The main goals in the design of PROFIL were speed and portability. Therefore all interval operations in PROFIL use BIAS (Basic Interval Arithmetic Subroutines) [16]. BIAS defines a concise and portable interface for the basic scalar, vector, and matrix operations. The interface is independent of a specific interval representation or computation but permits machine specific and fast implementations. Based on this general specification we present an implementation in C using a lower/upper bound representation of intervals and directed roundings. By using few assembler instructions for switching the rounding modes and avoiding sign tests and rounding mode switches wherever possible, the computational costs of the interval operations were reduced significantly. This is especially important for RISC machines, where floating point instructions can be executed in Few machine cycles. Comparisons with other interval arithmetic packages show an improvement in speed of about one order of magnitude.
引用
收藏
页码:277 / 287
页数:11
相关论文
共 23 条
[1]  
Alefeld G., 1983, INTRO INTERVAL COMPU
[2]  
CORLISS GF, 1993, SCAN 93 VIENNA
[3]  
DAUMAS M, IN PRESS ROUNDING FL
[4]   AN EXTENDED SET OF FORTRAN BASIC LINEAR ALGEBRA SUBPROGRAMS [J].
DONGARRA, JJ ;
DUCROZ, J ;
HAMMARLING, S ;
HANSON, RJ .
ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 1988, 14 (01) :1-17
[5]  
DONGARRA JJ, 1990, ACM T MATH SOFTWARE, V16, P1, DOI 10.1145/77626.79170
[6]  
DONGARRA JJ, 1991, CS90122 U TENN SCI T
[7]  
HANSEN G, 1992, GLOBAL OPTIMIZATION
[8]  
HERZBERGER J, IN PRESS STUDIES COM
[9]  
Jansson C., 1992, Computer Arithmetic and Enclosure Methods. Proceedings of the Third International IMACS-GAMM Symposium on Computer Arithmetic and Scientific Computing (SCAN-91), P259
[10]  
JANSSON C, 1993, Z ANGEW MATH MECH, V73, pT741