mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Oops small clanup, Daniel
This commit is contained in:
2
xpath.c
2
xpath.c
@ -1017,7 +1017,7 @@ xmlXPathFormatNumber(double number, char buffer[], int buffersize)
|
||||
if (absolute_value > 0.0)
|
||||
integer_place = 1 + (int)log10(absolute_value);
|
||||
else
|
||||
integer_place = 1 - HUGE_VAL;
|
||||
integer_place = 0;
|
||||
fraction_place = (integer_place > 0)
|
||||
? DBL_DIG - integer_place
|
||||
: DBL_DIG;
|
||||
|
Reference in New Issue
Block a user