Closed
Description
Describe the bug
Issue firstly reported here:
http://stm32duino.com/viewtopic.php?f=49&t=4650&p=54273#p54273
dtostrf()
implementation is loosing a negative sign, if the input "double" number falls in the
range -1.0 < number_f < 0.0.
Likely to this part of the code in the dtostrf.c
Arduino_Core_STM32/cores/arduino/avr/dtostrf.c
Lines 52 to 54 in 03557f3
since integer part is "0", negation doesn't have any meaning.
To Reproduce
Use dtostrf
with number in range -1.0 < number_f < 0.0