Search found 1 match
- Sun Nov 28, 2021 1:46 pm
- Forum: ESP-IDF
- Topic: Enable double precision trigonometric functions
- Replies: 6
- Views: 11223
Re: Enable double precision trigonometric functions
I have a problem in the esp32 IDF floating arithmetic. The operation is: Float x, y; x = -0.141 y = -0.555 Abs(x - y) should be 0.414 but the esp32 is resolving it as 0.696. Can anyone explain what is happening here. It’s a simple calculation of the absolute value of subtracting two negative float n...