Debugging 将int强制转换为float,更改值

Debugging 将int强制转换为float,更改值,debugging,casting,keil,Debugging,Casting,Keil,我有int参数,当我把它转换成复杂的float参数时,它会把数字变成大的一。 我试着将它转换成float和float complex,但没有什么不同 为什么会这样? 我怎样才能修好它

我有int参数,当我把它转换成复杂的float参数时,它会把数字变成大的一。 我试着将它转换成float和float complex,但没有什么不同

为什么会这样? 我怎样才能修好它