This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

about C lib.

How can I use Keil to compute exponential function?

is use #include <stdlib.h>?

thank you sir.

Parents
  • "This help me understand about KEIL better than two days ago."

    Surely, in two days you could have managed to find the section in the Manual that describes the standard library functions?

    Anyhow, This has nothing to do with Keil specifically.

    This is basic 'C' textbook stuff.

    Ask yourself: does the 'C' programming language, or the standard 'C' library make any mention of complex numbers?

    Again, the 8051 is a simple 8-bit microcontroller - it is not generally well suited to maths-intensive applications.

    In fact, if you want direct language support for complex numbers, you'd be better off with FORTRAN.

    NO, I don't think there's a FORTRAN implentation for the 8051...!

Reply
  • "This help me understand about KEIL better than two days ago."

    Surely, in two days you could have managed to find the section in the Manual that describes the standard library functions?

    Anyhow, This has nothing to do with Keil specifically.

    This is basic 'C' textbook stuff.

    Ask yourself: does the 'C' programming language, or the standard 'C' library make any mention of complex numbers?

    Again, the 8051 is a simple 8-bit microcontroller - it is not generally well suited to maths-intensive applications.

    In fact, if you want direct language support for complex numbers, you'd be better off with FORTRAN.

    NO, I don't think there's a FORTRAN implentation for the 8051...!

Children