[英]convert large integer to float in python
an API that I cannot influence is saving certain floating point numbers as contiguousarray with 64 bit, so that a value of -0.30273306 is saved as -4624246862885421056. 我无法影响的API将某些浮点数保存为具有64位的contiguousarray,因此,-0.30273306的值保存为-4624246862885421056。
Now how can I retrieve the original value from this large integer? 现在如何从这个大整数中检索原始值?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.