摘要
本文利用扩展多字节的加减乘除运算,用C语言实现了在16位CPU上求解RMS,从而避免了由于字长的限制而造成的数据溢出问题,精确取得RMS的值。
The paper uses the expansion of multi-byte addition, subtraction, multiplication and division operation, realizes solving RMS with 16-bit CPU in C language, therefore avoiding data overflow as a result of the restriction on word length, so obtains the precise value of RMS.
出处
《电脑学习》
2009年第4期148-149,共2页
Computer Study