摘要: 给一个数,求次数的平方根倒数,保留小数点后6位。 #include <stdio.h> float Q_rsqrt(float number) { long i; // 用来存储位操作结果 float x2, y; const float threehalfs = 1.5f; // 常数1.5 x2 阅读全文
posted @ 2024-10-15 23:52 专心Coding的程侠 阅读(1) 评论(0) 推荐(0) 编辑