Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80155

Re: support for boost::python for build double object

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '64-bit': 0.07; 'subject:support': 0.07; '32-bit': 0.09; 'subject:build': 0.09; 'cc:addr:python-list': 0.11; 'function?': 0.16; 'number?': 0.16; 'subject:object': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'library': 0.18; 'variable': 0.18; 'trying': 0.19; '>>>': 0.22; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; '&gt;&gt;&gt;': 0.24; 'skip': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; "can't": 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'so,': 0.37; 'nov': 0.38; 'does': 0.39; 'to:addr:gmail.com': 0.65
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=B1+fIdmTEQHlcjsmQFhJoys/ox0FzsAX0SYkbvChx9I=; b=C1oZxUhh2YtyWmHdmQ36ZZF7A4vIZc3ml1pGrWjolFW0YQeEvaKSbR8SjPR4Rv+m2N HvTSVx9xyUviCuxROkzeoe7DolnaSWldA4I0R/QLLEt04FRJ9FkXQPnNU+Atag+Iu+94 CLx7Z5UP29yCMGkZmr7dcq3sdikcwvqnnTTihyAR+Tuxfbu8VTeebDww2hEM62rcYmyI hw6FoTY2U1ZCGVLFPVLY3HeykOxijh593KmRDOG6JMMab7b3LgsY54G8w48Zh5BYpCJm xg8ufobsgaHt2Ca43TZZ1bkuTr8psYLYGo0mVV7LVbFHbrxTqVf1zoyZYjd3GBTaGjfT UE9g==
MIME-Version 1.0
X-Received by 10.51.17.69 with SMTP id gc5mr16408224igd.24.1415023821193; Mon, 03 Nov 2014 06:10:21 -0800 (PST)
In-Reply-To <b822b2c8-c953-4541-afae-cb5ca3ea96c9@googlegroups.com>
References <b822b2c8-c953-4541-afae-cb5ca3ea96c9@googlegroups.com>
Date Mon, 3 Nov 2014 08:10:21 -0600
Subject Re: support for boost::python for build double object
From Skip Montanaro <skip.montanaro@gmail.com>
To Joseph Shen <joseph.smeng@gmail.com>
Content-Type multipart/alternative; boundary=001a1136000c360a3b0506f4e88e
Cc Python <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15429.1415023830.18130.python-list@python.org> (permalink)
Lines 52
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415023830 news.xs4all.nl 2830 [2001:888:2000:d::a6]:49698
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80155

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Nov 3, 2014 at 7:53 AM, Joseph Shen <joseph.smeng@gmail.com> 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?

Skip

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

support for boost::python for build double object Joseph Shen <joseph.smeng@gmail.com> - 2014-11-03 05:53 -0800
  Re: support for boost::python for build double object Skip Montanaro <skip.montanaro@gmail.com> - 2014-11-03 08:10 -0600
    Re: support for boost::python for build double object Joseph Shen <joseph.smeng@gmail.com> - 2014-11-03 06:39 -0800
  Re: support for boost::python for build double object Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-03 15:02 +0000

csiph-web