You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the documentation at readthedocs and the issue is not addressed there.
I have tested that the issue is present in current master branch (aka latest git).
I have searched the issue tracker for a similar issue.
If there is a stack dump, I have decoded it.
I have filled out all fields below.
Platform
Hardware: [ESP-12]
Core Version: [2.5.0]
Development Env: [Arduino IDE]
Operating System: [Windows]
Settings in IDE
Module: [Nodemcu]
Flash Mode: [dio]
Flash Size: [4MB]
lwip Variant: [v1.4]
Reset Method: [nodemcu]
Flash Frequency: [40Mhz]
CPU Frequency: [80Mhz]
Upload Using: [SERIAL]
Upload Speed: [921600]
Problem Description
Parsing a string into a double (using toFloat which internally uses atof) lacks of precision. It is fine for 4 Byte float, but not for 8 Byte double. In either case toFloat needs to be extended or toDouble (like in Arduino AVR) needs to be introduced!
If someone had a workaround, I would be very grateful :)
Basic Infos
Platform
Settings in IDE
Problem Description
Parsing a string into a double (using toFloat which internally uses atof) lacks of precision. It is fine for 4 Byte float, but not for 8 Byte double. In either case toFloat needs to be extended or toDouble (like in Arduino AVR) needs to be introduced!
If someone had a workaround, I would be very grateful :)
The text was updated successfully, but these errors were encountered: