久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      C語言sqrt函數(shù)的用法

      C語言sqrt函數(shù)的用法

      c語言sqrt函數(shù)的用法

      sqrt函數(shù)用于計(jì)算一個(gè)非負(fù)實(shí)數(shù)的平方根。

      sqrt的函數(shù)原型: 在VC6.0中的math.h頭文件的函數(shù)原型為double sqrt(double);

      說明:sqrt即Square Root Calculations(平方根計(jì)算),通過這種運(yùn)算可以考驗(yàn)CPU的浮點(diǎn)能力。

      頭文件:math.h

      程序示例:

      #include <math.h> #include <stdio.h> int main(void) {     double x = 4.0, result;     result = sqrt(x); //result*result = x     printf("The square root of % is %n", x, result);     return 0; }

      推薦學(xué)習(xí):c語言視頻教程

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)