[331] | 1 | #define _ISOC99_SOURCE 1
|
---|
| 2 |
|
---|
| 3 | #include <stdio.h>
|
---|
| 4 | #include <math.h>
|
---|
| 5 |
|
---|
| 6 | int main()
|
---|
| 7 | {
|
---|
| 8 | printf("%f\n", sin(0.12));
|
---|
| 9 | printf("%f\n", cos(0.12));
|
---|
| 10 | printf("%f\n", tan(0.12));
|
---|
| 11 | printf("%f\n", asin(0.12));
|
---|
| 12 | printf("%f\n", acos(0.12));
|
---|
| 13 | printf("%f\n", atan(0.12));
|
---|
| 14 | printf("%f\n", sinh(0.12));
|
---|
| 15 | printf("%f\n", cosh(0.12));
|
---|
| 16 | printf("%f\n", tanh(0.12));
|
---|
| 17 | printf("%f\n", exp(0.12));
|
---|
| 18 | printf("%f\n", fabs(-0.12));
|
---|
| 19 | printf("%f\n", log(0.12));
|
---|
| 20 | printf("%f\n", log10(0.12));
|
---|
| 21 | printf("%f\n", pow(0.12, 0.12));
|
---|
| 22 | printf("%f\n", sqrt(0.12));
|
---|
| 23 | printf("%f\n", round(12.34));
|
---|
| 24 | printf("%f\n", ceil(12.34));
|
---|
| 25 | printf("%f\n", floor(12.34));
|
---|
| 26 |
|
---|
| 27 | return 0;
|
---|
| 28 | }
|
---|
| 29 |
|
---|
| 30 | /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/
|
---|