Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
现在我将包含十进制数的字符串转换为整数(暂时忽略小数点),将其加载到 ST(0) 中,然后除以十的正确幂来计算小数点。这看起来很圆,需要我有一个查找表来查找 10 的某些幂。有没有更好的方法来做到这一点?
在我的脑海中,我被构造尾数部分、计算位数和直接设置指数而不是除法的想法所吸引。