Different values when converting from float to integer

后端 未结 0 1661
予麋鹿
予麋鹿 2021-01-14 05:29

Here is my code:

#include 

int main()
{
    
    float dt = 0.0002, t0;
    int it0;
    
    for ( t0 = 0.0512; t0 <= 0.0544; t0 += 0.0004         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题