The solution is to cast the address of the floating point variable to a pointer to an int, which is then de-referenced as shown below.
解决方案是将浮点变量的地址强制转换成一个指向整型类型的指针,如下所示。
Even a seemingly harmless edit can result in changes to some of the least significant bits in the floating-point variable.
甚至看起来无关紧要的编辑都能引起浮点变量中某些最不重要的数据位发生变化。
Even a seemingly harmless edit can result in changes to some of the least significant bits in the floating-point variable.
甚至看起来无关紧要的编辑都能引起浮点变量中某些最不重要的数据位发生变化。
应用推荐