double data type ªººë½T«×
- ©«¤l
- 145
- ¥DÃD
- 45
- ºëµØ
- 0
- ¿n¤À
- 190
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 7
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_¥«
- µù¥U®É¶¡
- 2013-10-18
- ³Ì«áµn¿ý
- 2014-3-29
|
double data type ªººë½T«×
- #if 0
- a= 9008425914092448.000 ,
- b= 9008425914092448.000
- 53.000196
- ½Ð«ö¥ô·NÁäÄ~Äò . . .
- #endif
- // ----------------------------------------------
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- int main(int argc, char *argv[])
- {
- double a, b, c;
- a= 4.0*atan(1.0);
- b= a + 1;
- // b > a
-
- while (b > a) {
- a*= 1.0001;
- b= a + 1;
- }
-
- printf("\n a= %.3lf , \n b= %.3lf \n", a, b);
- printf("%.6lf \n", ((log(a))/(log(2.0))));
- system("PAUSE");
-
- return 0;
- }
½Æ»s¥N½X |
|
¤Ñ¤U¬°¤½
|
|
|
|
|