Search found 2 matches
- Fri Feb 16, 2018 12:19 pm
- Forum: ESP32 Arduino
- Topic: Negative Floating point overflow
- Replies: 3
- Views: 6607
Re: Negative Floating point overflow
I'm almost too embarrassed to reply, but, I was using a float which had a value assigned by a calculation which had an unsigned int as part of the equation. For some reason the Arduino Nano just dealt with this, but the ESP32 didn't. Anyway, I've cast the unsigned int to a float in the calculation a...
- Thu Feb 15, 2018 3:54 pm
- Forum: ESP32 Arduino
- Topic: Negative Floating point overflow
- Replies: 3
- Views: 6607
Negative Floating point overflow
What is the range of a floating point value on the ESP32, using the Arduino IDE?
I get an overflow if I have a value below zero, which I do not get if I compile the same code for a Nano for example.
I get an overflow if I have a value below zero, which I do not get if I compile the same code for a Nano for example.