Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I uploaded a program on the online compiler mbed that uses the functions log2 and pow of the library math.h and gives me the following error: Identifier "log2" is undefined "num_bit=1+log2(decimale);" Expression must have integral or enum type "temp[num_bit-1-i]=decimale%2+'0';" More than once instance of overloaded function "pow" matches the argument list "dec=dec+(binario[j]-'0' *pow(2, 5-j);" Where is the problem?