• Variables zeroed out when doing simple math
    I'm using RTL for my project, and what I am finding is that when I pass parameters (mentioned in another post) and when I do simple math the variables are zeroed out? What in the world would cause...
  • Maths Routine Problem???
    Hi all, I managed to get my interrupts working, and i have figured out a way to calculate the heart rate which is: z = 60/(0.39*R7) = 153.84/R7 = 154/R7 But when i tried this formula, the...
  • Math library
    Hi.. I need to use the cos and sin functions. what are the libraries I need to add ? is it only <math.h> ? if yes, i tried that and i got error message: /cygdrive/h/Ex3/FFT/FFT.c(45): error: undefined...
  • Floating point Math
    Hello I want the calculation in 8051 assembly language Like 7934501/74070=107.121655 I got the 107 but i did't get the 121655. Please help me to get this result if possible then send me...
  • Double precision maths library
    Has anyone any idea where I can get a double precision maths library which will work with the Keil C51 compiler.