The following code, I beleive, should calculate the square root of 25
as equal to 5.
However variable a is displayed as 1.58105 ....
and variable b is displayed as 25
(As displayed using TiEmu emulator)
I expect there is an obvious reason
Thanks
Jeff
#include <tigcclib.h>
#include <timath.h>
void _main(void) {
float m,a,b;
m = 25;
a = sqrt(m);
b = pow(m,0.5);
ClrScr();
printf("%f\n", a);
printf("%f\n", b);
ngetchx(); // wait for a key press before the program exits
}

