Question
data values of float type variables appear differently when debugging?


I'm trying to figure out why the value 4.2 is returned as -2 when passed as a function argument. Could you please also provide a solution? The MCU is an STM32F302VET.


I'm trying to figure out why the value 4.2 is returned as -2 when passed as a function argument. Could you please also provide a solution? The MCU is an STM32F302VET.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.