
24 Oct
2022
24 Oct
'22
4:53 p.m.
On a Monday in 2022, Peter Krempa wrote:
The conversion from double is not precise enough at the extremes so it must not be used.
Spell out that the callers are required to use a string() conversion in the XPath expression and remove the code path handling the direct conversion from numbers.
Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- src/util/virxml.c | 60 ++++++++++++++--------------------------------- 1 file changed, 18 insertions(+), 42 deletions(-)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano