Executing the following code causes random, unrelated variables to be set to 0 for no reason:
x = sin(1); // Causes device to behave unpredictably
However, if I use the float version of the same function it works just fine.
x = sinf(1); // This works fine
What's going on here?