阅读背景:

使用小值时,浮点运算速度较慢?

来源:互联网 

I have the following simple program that multiplies two different floating point numbers many times. As you can see, one of the numbers is very small. When I calculate the time of executing both multiplications, I was surprised that the little number takes much longer than the other one. It seems that working with small doubles is slower... Does anyone know what is happening?I have the following simple program that multip




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: