On using pow function defined in math.h, stack grows at 1904 bytes. Am i making some mistake in corrext execution or stack grows at such huge size on using pow function. Below is my code also
I am using LPC1317 with MDK V4.72.
#include "LPC13Uxx.h" /* LPC13xx definitions */ #include "math.h"
float32_t x,y,z; int main(void) { x = 2.3; y = 1.5; z = pow(x,y); if(z) { } while(1); }
View all questions in Keil forum