by Cyprien Guillemot, Bonjun Gu, Pil Hun Choi
For our final project we decided to code some mathematics function in assembly. We made:
We decided to choose this project to see how difficult it is to program simple function in assembly. And this project was also the occasion to discover how to deal with float number in assembly.
To make all these functions we use the Taylor series. We use recursive algorithm to make it. Each time the function calculate a term and add it to the sum. In order to achieve this, we made two functions that are used in every function: power and fact.
The only difficulty was to know how to work with float number. It appears that it is almost the same than working with integer. The only tricky part was to know how we can cast an integer to a float.