Jamie Lokier writes:
> Anthony Liguori wrote:
>> After checking that we can demarshal, marshal again and compared to
>> the expected decoded value. This doesn't work so well for floats
>> because they cannot be accurately represented in decimal but we try
>> our best.
>
> Good sprintf/scanf/strt
Anthony Liguori wrote:
> Jamie Lokier wrote:
> >Anthony Liguori wrote:
> >
> >>After checking that we can demarshal, marshal again and compared to
> >>the expected decoded value. This doesn't work so well for floats
> >>because they cannot be accurately represented in decimal but we try
> >>our
Jamie Lokier wrote:
Anthony Liguori wrote:
After checking that we can demarshal, marshal again and compared to
the expected decoded value. This doesn't work so well for floats
because they cannot be accurately represented in decimal but we try
our best.
Good sprintf/scanf/strtod imple
Anthony Liguori wrote:
> After checking that we can demarshal, marshal again and compared to
> the expected decoded value. This doesn't work so well for floats
> because they cannot be accurately represented in decimal but we try
> our best.
Good sprintf/scanf/strtod implementations do guarantee
By reusing the qjson test suite. After checking that we can demarshal, marshal
again and compared to the expected decoded value. This doesn't work so well
for floats because they cannot be accurately represented in decimal but we
try our best.
Signed-off-by: Anthony Liguori
---
check-qjson.c |