Skip to content

float128.backend().data() #743

@lgoetzfried

Description

@lgoetzfried

This may well be a mistake on my side. However, the documentation says
" It's also possible to access the underlying __float128 or _Quad type via the data() member function of float128_backend."
However, when I try to get a GNU __float128 out of a float128, I get a compile error, e.g. as in

src/quadrature.cpp:43:52: error: ‘struct boost::multiprecision::backends::float128_backend’ has no member named ‘data’
   43 |   auto f1 = [=](float128 x) { return f(x.backend().data(), params); };
      |                                                    ^~~~

Am I doing something wrong?
I use Boost 1.83.
Best regards,
Linus Götzfried

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