jeudi 13 août 2020

How to use quadmath with pybind11?

When I include <quadmath.h> everything compiles without errors. But when I go to import the compiled module in python I get an error if I use any functions from quadmath. I can instantiate __float128 and do basic operations (+,*,-,/) with them without errors, but any functions from quadmath can't be used. The error I get is:

Import Error: cannot find symbol [quadmath function]

Thanks

Aucun commentaire:

Enregistrer un commentaire