Non line specific message::: advisory: (1493) updated 32-bit floating-point routines might trigger "can't find space" messages appearing after updating to this release; consider using the smaller 24-bit floating-point types
#include <math.h>
#include <stdio.h>
/* Print acos() values for -1 to 1 in degrees. */
void
main (void)
{
float i, a;
for(i = -1.0; i < 1.0 ; i += 0.1)
{
a = acos(i)*180.0/3.141592;
printf(“acos(%f) = %f degrees\n”, i, a);
}
}
参考这个例子看看?
#include <math.h>
#include <stdio.h>
/* Print acos() values for -1 to 1 in degrees. */
void
main (void)
{
float i, a;
for(i = -1.0; i < 1.0 ; i += 0.1)
{
a = acos(i)*180.0/3.141592;
printf(“acos(%f) = %f degrees\n”, i, a);
}
}
参考这个例子看看?