pow10

2018-11-11 15:41 更新

 原型:extern float pow10(float x);
 
 用法:#include <math.h>
 
 功能:計(jì)算10的x次冪。
 
 說(shuō)明:相當(dāng)于pow(10.0,x)。
 
 舉例:

     // pow10.c
     
     #include <syslib.h>
     #include <math.h>
     main()
     {
       clrscr();        // clear screen
       textmode(0x00);  // 6 lines per LCD screen
     
       printf("10^3.2=%f\n",pow10(3.2));
       printf("10^3.2=%f",pow(10,3.2));
       
       getchar();
       return 0;
     }      


以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)