Accurate Expressions In C-Xsc
Abstract
C-XSC is a programming library for Extended Scientific Compu-ing which support
many data types with high accuracy. However it does not provide the accurate expressions
which are already available in the older language PASCAL-XSC. These expressions have to
be replaced by long loops which are more difficult to understand. Therefore we studied
possibilities how this accurate expressions could be implemented in C-XSC. In this paper we
present possibilities like operator overloading with special result types avoiding rounding errors,
and a small pre-processor which converts accurate expressions to functions calls. We
present results about execution times in comparison with C-XSC. Finally we present some
perspectives for future work.
many data types with high accuracy. However it does not provide the accurate expressions
which are already available in the older language PASCAL-XSC. These expressions have to
be replaced by long loops which are more difficult to understand. Therefore we studied
possibilities how this accurate expressions could be implemented in C-XSC. In this paper we
present possibilities like operator overloading with special result types avoiding rounding errors,
and a small pre-processor which converts accurate expressions to functions calls. We
present results about execution times in comparison with C-XSC. Finally we present some
perspectives for future work.
Full Text:
PDFAsociación Argentina de Mecánica Computacional
Güemes 3450
S3000GLN Santa Fe, Argentina
Phone: 54-342-4511594 / 4511595 Int. 1006
Fax: 54-342-4511169
E-mail: amca(at)santafe-conicet.gov.ar
ISSN 2591-3522