Skip to content

operator double() core dump #120

Open
@long1024

Description

@long1024

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions