objectcomputing / mFAST

A FAST (FIX Adapted for STreaming) encoder/decoder
http://objectcomputing.github.io/mFAST
BSD 3-Clause "New" or "Revised" License
224 stars 112 forks source link

operator double() core dump #120

Open long1024 opened 2 years ago

long1024 commented 2 years ago

hello, I've found such code:

operator double() { double x = static_cast(mantissa()); // return x * std::pow(10, exponent()); boost::spirit::x3::extension::scale(exponent(),x); } using boost::spirit::x3::extension::scale() might have core dump