C++库函数收集

  1. 数值类型极限值
std::numeric_limits<double>::max();
  1. 随机数发生函数
    2.1 均匀分布
The  drand48() and erand48() functions return nonnegative double-preci‐
       sion floating-point values  uniformly  distributed  over  the  interval
       [0.0, 1.0).
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章