Journal "Software Engineering"
a journal on theoretical and applied science and technology
ISSN 2220-3397

Issue N5 2016 year

DOI: 10.17587/prin.7.221-230
The Programming's Basics for Numerical Methods
A. S. Shundeev, Institute of Mechanics, Lomonosov Moscow State University, 119991, Moscow, Russian Federation
Corresponding author: Shundeev Aleksandr S., Leading Researcher, Institute of Mechanics, Lomonosov Moscow State University, 119991, Moscow, Russian Federation, e-mail: alex.shundeev@gmail.com
Received on February 19, 2016
Accepted on March 02, 2016

This article describes an approach to teaching the programming basics for the software implementation of numerical methods. This approach was used by the author during the practical sessions in the training course "Working on a computer and programming" for the first-year Faculty of Mechanics and Mathematics students of Lomonosov Moscow State University. In this approach, the student receives the necessary theoretical knowledge and develops practical skills in three interrelated areas. The first area is the theoretical foundations of computer arithmetics. The second area is the implementation of machine arithmetics in the target computer system. As an example of the architecture, SSE has been considered. This technology is implemented in modern Intel processors. The third area is the instrumental programming tools. The examples in the third area are based on the standard library of the C programming language, YASM assembler, GCC compiler and GDB debugger.

Keywords: floating-point arithmetic, IEEE754, numerical methods, the standard C programming language library, YASM assembler, SSE
pp. 221–230
For citation:
Shundeev A. S. The Programming's Basics for Numerical Methods, Programmnaya Ingeneria, 2016, vol. 7, no. 5, pp. 221—230