Whatistheapproximateresolutionofasingleprecisionfloatingpointnumberwhenitsaroundzero我将许多经度和纬度存储为doubles,我想知道是否可以将它们存储为floats。要回答这个问题,我需要知道当存储的值为经度/纬度(-180到180)时单精度浮点数的近似分辨率。经度从-180到180,纬度从-90到90。您的问题可能有多种解释。如果它只是用于angular和存储在磁盘或设备上,我建议您使用完全不同的技术存储您的值:存储为32位整数。1intencodedAngle=(int)(value*(0x7FFFFFFF