support for boost::python for build double object

Skip Montanaro skip.montanaro at
Mon Nov 3 15:10:21 CET 2014

On Mon, Nov 3, 2014 at 7:53 AM, Joseph Shen <joseph.smeng at> wrote:

> In the boost::python library there is a function
> >>> boost::python::long_
> and this function return a boost::python::object variable
> I'm trying to wrap a double variable but I can't find
> something just like
> >>  boost::python::double_
> can someone help me to build a double object

Is there a boost::python::float_ function? If so, does it produce a 32-bit
(C float) or 64-bit (C double) number?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list