Closed lawrence-koh closed 3 months ago
Hi, I have a struct that has a long double member.
long double
After using BINLOG_ADAPT_STRUCT and logging the struct member, when the output file is read using bread, there is some loss of precision.
BINLOG_ADAPT_STRUCT
bread
e.g. 1234234.0234242 becomes 1.23423e+06.
1234234.0234242
1.23423e+06
Is there a way to control the precision that is being printed by bread?
Thanks for the report, the situation is being improved in: https://github.com/morganstanley/binlog/pull/176/files
@erenon thank you for your help on this!
Hi, I have a struct that has a
long double
member.After using
BINLOG_ADAPT_STRUCT
and logging the struct member, when the output file is read usingbread
, there is some loss of precision.e.g.
1234234.0234242
becomes1.23423e+06
.Is there a way to control the precision that is being printed by
bread
?