Design of 64bits floating-point library in Keil C51
LI Wenzha · Journal of Hebei University · 2014
The Keil C51can't provide the 64bits floating-point calculation.In order to solve this problem,using the method of branch store and division calculation,a 64bits floating-point library is designed which is conform to the IEEE-754standard.The library is programmed by C51language,which has very strong portability.After the programming of the floating-point library,a time-consuming test had executed.In the test,the addition operation time-consuming is less than 5milliseconds,multiplication operation and division operation time-consuming is less than 40 milliseconds.The results show that the floatingpoint library can be used in a vast majority of engineering development while the real-time requirement is not very strong.The library can reduce the design threshold and the development cost in the engineering development,and it provides a broader space for the application of the MCUs based on 8051kernel.