1 // do some floatingpoint computations
5 double deg2rad(double a
)
8 result
= a
* 3.141592653589793 / 180.0;
12 #define pi 3.1415926535897932384626433832795028841971693993750
14 void longdouble(long double ld
)
16 long double x
= 1000000.0 * ld
*ld
*pi
;
17 printf("long double: %Lf\n", x
);
20 int main(int argc
, char** argv
)
23 double b
= deg2rad(a
);
26 printf("angle=%f degrees (%f radians), sine is %f\n",