How can I use Keil to compute exponential function? is use #include <stdlib.h>? thank you sir.
I'm not found library for complex number. can you more advise me?
I can't found library about complex number. Can you more advise me?.
The complete Keil library is described in the C51 Manual. Here it is: http://www.keil.com/support/man/docs/c51/c51_library.htm
In basic, I must include complex.h to compute complex number but I cant't #include <complex.h> on Keil Does keil has complex.h library?. yes, it does -->> Why my program error No,it doesn't -->> How can I compute complex number with KEIL?. I need to use Keil to compute complex number because it can implement on 8051. It's some part of my senior project. sincerely yours pattaraporn
"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...!
thank you for your helping very much. I feel so good for every your answer.This help me understand about KEIL better than two days ago. And this time, I have some question to ask go again. :D . Can Keil compute Imaginary part?. this program I show you about my idea to compute Img. #include <math.h> ... i = sqrt(-1); Is it correct program?. Thank alot for your answer. pattaraporn;
http://www.keil.com/support/man/docs/c51/c51_exp.htm http://www.keil.com/demo/limits.asp You could also try a lookup table. Remember: the 8051 is a simple 8-bit microcontroller - it is not generally well suited to maths-intensive applications.
View all questions in Keil forum