remainder函數的用法


remainder()函數還有以下三種很少被使用的參數類型:

double remainder( double x, double y )。

float remainderf( float x, float y )。

long double remainderl (long double x,long double y)。

返回的都是 x/y 的余數 , r = x – ny , n 是接近x/y 實際值的整數。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM