Search found 2 matches

by silvioteston
Fri Jun 28, 2024 2:13 pm
Forum: ESP-IDF
Topic: Floating point sum cannot exceed 16777216
Replies: 3
Views: 1430

Re: Floating point sum cannot exceed 16777216

Thank you very much! I ended up forgetting this "small" detail.
by silvioteston
Sun Jun 23, 2024 4:11 pm
Forum: ESP-IDF
Topic: Floating point sum cannot exceed 16777216
Replies: 3
Views: 1430

Floating point sum cannot exceed 16777216

In my source code, a float variable is used to hold the integral value of a signal read from A/D. This value remains constant for a long time, so the accumulated value in the float variable is expected to be considerably large. The problem is that when I reach the value 16777216 the sum cannot go fu...