摘要
本文构造一些求和的数值算例,帮助学生理解计算机浮点数求和与理论上的实数求和的结果有时是不同的.我们希望提供一些素材,丰富《数值分析》教科书的例子,提醒人们今后在使用计算机做数值计算时应该考虑构造稳定的算法,避免数值计算过程中加法运算数值求和次序不同而引起的求和结果不准确的现象.
In this paper,some numerical examples are constructed,in order to help students to understand the difference between the summation of floating-point numbers and the summation of real numbers.
作者
刘兰冬
张生
LIU Landong;ZHANG Sheng(School of Science,China University of Mining and Technology(Beijing),Beijing 100083,PRC)
出处
《高等数学研究》
2018年第4期95-96,共2页
Studies in College Mathematics
基金
中国矿业大学(北京)教改项目:数值分析课程设计教学平台框架建设探讨(编号J170701)
关键词
数值分析
计算机求和
浮点数
数值实验
numerical analysis
computer summation
floating-point numbers
numerical experiments