Skip to content

Latest commit

 

History

History

jstarcraft-ai-math

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

如何在标量,向量,矩阵与张量中使用int并保证不丢失精度.

利用Float.intBitsToFloatFloat.floatToIntBits可以实现int与float转换,并且防止精度丢失.