[C++-sig] buildin converter for long double
Holger Brandsmeier
brandsmeier at gmx.de
Mon Nov 5 11:27:38 CET 2012
Dear list,
the boost python buildin converter for long double:
BOOST_PYTHON_TO_PYTHON_BY_VALUE(long double,
::PyFloat_FromDouble(x), &PyFloat_Type)
converter/builtin_converters.hpp
identifies long double, which on my system is a 128bit float, with a
64bit float in python. I would like to identify it with numpy`s
float128. Can you give me any hings how I would be able to do that?
-Holger
More information about the Cplusplus-sig
mailing list