📜  c++ 随机浮点数 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:51.932000             🧑  作者: Mango

代码示例2
float r3 = LO + static_cast  (rand()) /( static_cast  (RAND_MAX/(HI-LO)));