<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ## Ceil 向上取整 ~~~ func Ceil(x float64) float64 ~~~ ~~~ f := 3.14 fmt.Println(math.Ceil(f)) // 4 ~~~ ## Floor 向下取整 ~~~ func Floor(x float64) float64 ~~~ ~~~ f := 3.14 fmt.Println(math.Floor(f)) // 3 ~~~ ## IsNaN 判斷 f 是否表示一個NaN(Not A Number)值 ~~~ func IsNaN(f float64) (is bool) ~~~ ~~~ f := 3.14 fmt.Println(math.IsNaN(f)) // false ~~~ ## Trunc 返回浮點數的整數部分 ~~~ func Trunc(x float64) float64 ~~~ ~~~ f := 3.9 fmt.Println(math.Trunc(f)) // 3 ~~~ ## Abs 獲取絕對值 ~~~ func Abs(x float64) float64 ~~~ ~~~ f := -996.007 fmt.Println(math.Abs(f)) // 996.007 ~~~ ## Max 返回兩個浮點數中的最大值 ~~~ func Max(x, y float64) float64 ~~~ ~~~ fmt.Println(math.Max(3.1415926, 3.1414)) // 3.1415926 ~~~ ## Min 返回兩個浮點數中的最小值 ~~~ func Min(x, y float64) float64 ~~~ ~~~ fmt.Println(math.Min(3.1415926, 3.1414)) // 3.1414 ~~~ ## Dim 如果x-y大于0,則返回差值,否則返回0 ~~~ func Dim(x, y float64) float64 ~~~ ~~~ fmt.Println(math.Dim(3.1415926, 3.1414)) // 0.00019260000000009825 fmt.Println(math.Dim(3.1415926, 3.1416)) // 0 ~~~ ### Mod 取余 ~~~ func Mod(x, y float64) float64 ~~~ ~~~ fmt.Println(math.Mod(9, 4)) // 1 ~~~ ## Sqrt 返回x的二次方根 ~~~ func Sqrt(x float64) float64 ~~~ ~~~ fmt.Println(math.Sqrt(9)) // 3 ~~~ ## Cbrt 返回x的三次方根 ~~~ func Cbrt(x float64) float64 ~~~ ~~~ fmt.Println(math.Cbrt(8)) // 2 ~~~ ## Pow 返回 x 的 y 次方 ~~~ func Pow(x, y float64) float64 ~~~ ~~~ fmt.Println(math.Pow(9, 2)) // 81 ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看