<div dir="ltr">Hey Paul,<div><br></div><div>First of all, thanks for the tips, it did help a lot. But would you mind if I use you a little more to get up to speed with this project?</div><div><br></div><div style>Answering your first question, yes, I&#39;m studying to the best of my capacities and time-constrains. I found the PDF a little too succint though. If you had some more recommended literature, I&#39;d be very happy to read it.</div>

<div style>I took a brief look at the present library&#39;s code but I must confess I got a little confused. Probably because I was too unprepared. I&#39;ll do that again when I experiment a little more with the examples and know exactly what to look for.</div>

<div><br></div><div>I did a couple of quick tests to see if my setup is working fine (it is). I tested it using some Boost.Math functions as suggested, but I reckon the test was not solid enough yet.</div><div style>I&#39;ll search for a few known big numbers and way to compute them tomorrow. </div>

<div style><br></div><div style>I think it&#39;s more convenient (not to overuse the list) to put my files here (<a href="https://bitbucket.org/luk51000/multiprecision">https://bitbucket.org/luk51000/multiprecision</a>). It&#39;s currently empty since I my git broke today and I didn&#39;t have time to fix it, but I should be pushing code as soon as tomorrow.</div>

<div><br></div><div><div class="gmail_extra"><div>--<br>Lucas Oliveira</div>
<br><br><div class="gmail_quote">On Wed, Apr 10, 2013 at 2:01 PM,  <span dir="ltr">&lt;<a href="mailto:boost-users-request@lists.boost.org" target="_blank">boost-users-request@lists.boost.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Send Boost-users mailing list submissions to<br>
        <a href="mailto:boost-users@lists.boost.org">boost-users@lists.boost.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://listarchives.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://listarchives.boost.org/mailman/listinfo.cgi/boost-users</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:boost-users-request@lists.boost.org">boost-users-request@lists.boost.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:boost-users-owner@lists.boost.org">boost-users-owner@lists.boost.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Boost-users digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Asio Serial ports: enumerating all the devices<br>
      (Kerry, Richard)<br>
   2. Re: [BGL] Error using breadth_first_search with labeled_graph<br>
      (Jeremiah Willcock)<br>
   3. Re: [multiprecision] radix-2 (Paul A. Bristow)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 10 Apr 2013 13:22:14 +0000<br>
From: &quot;Kerry, Richard&quot; &lt;<a href="mailto:richard.kerry@atos.net">richard.kerry@atos.net</a>&gt;<br>
To: &quot;<a href="mailto:boost-users@lists.boost.org">boost-users@lists.boost.org</a>&quot; &lt;<a href="mailto:boost-users@lists.boost.org">boost-users@lists.boost.org</a>&gt;<br>
Subject: Re: [Boost-users] Asio Serial ports: enumerating all the<br>
        devices<br>
Message-ID:<br>
        &lt;<a href="mailto:61C67DC73308BD49B2D4B65072480DBA15397181@DEFTHW99EZ1MSX.ww931.my-it-solutions.net">61C67DC73308BD49B2D4B65072480DBA15397181@DEFTHW99EZ1MSX.ww931.my-it-solutions.net</a>&gt;<br>
<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
<br>
&quot;vendor id, product id &quot;<br>
What&#39;s that ?<br>
I mean for a serial device.  If they are present in the device protocol then fine, but that depends on the individual devices and their protocols.<br>
You can check whether there has been any traffic, which might be useful, but serial connections are just streams of bytes.<br>
<br>
<br>
Unhelpfully,<br>
Richard.<br>
<br>
<br>
PS<br>
I do recognize &quot;vendor id, product id &quot; for SNMP and for other protocols working at a higher level than &quot;serial&quot;.<br>
<br>
<br>
<br>
<br>
<br>
________________________________<br>
From: Boost-users [mailto:<a href="mailto:boost-users-bounces@lists.boost.org">boost-users-bounces@lists.boost.org</a>] On Behalf Of Vincent Boucher<br>
Sent: 10 April 2013 13:40<br>
To: <a href="mailto:boost-users@lists.boost.org">boost-users@lists.boost.org</a><br>
Subject: [Boost-users] Asio Serial ports: enumerating all the devices<br>
<br>
Hello,<br>
<br>
Are there cross-platform methods to discover all the devices currently connected through serial ports with Boost?<br>
<br>
The idea is to have a function returning a list of device objects, each containing a handle, the related vendor id, product id and the baud rate at which the device was able to communicate.<br>
<br>
My knowledge of serial communication is very limited, may be it is technically infeasible. Do you have any thoughts for Boost or other libs?<br>
<br>
<br>
Analog enumerate method for HID devices:<br>
<a href="http://www.signal11.us/oss/hidapi/" target="_blank">http://www.signal11.us/oss/hidapi/</a><br>
<br>
Thanks,<br>
<br>
Vincent<br>
-------------- next part --------------<br>
HTML attachment scrubbed and removed<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 10 Apr 2013 11:28:43 -0400 (EDT)<br>
From: Jeremiah Willcock &lt;<a href="mailto:jewillco@osl.iu.edu">jewillco@osl.iu.edu</a>&gt;<br>
To: <a href="mailto:boost-users@lists.boost.org">boost-users@lists.boost.org</a><br>
Subject: Re: [Boost-users] [BGL] Error using breadth_first_search with<br>
        labeled_graph<br>
Message-ID: &lt;<a href="mailto:alpine.LRH.2.03.1304101127040.48027@cs.indiana.edu">alpine.LRH.2.03.1304101127040.48027@cs.indiana.edu</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;; Format=&quot;flowed&quot;<br>
<br>
On Tue, 9 Apr 2013, Julio Cezar Novais Raffaine wrote:<br>
<br>
&gt; Hi,<br>
&gt; I&#39;m having the above (end of email) error message when compiling my source using breadth_first_search in a<br>
&gt; labeled_graph, here are some of my definitions:<br>
&gt;<br>
&gt; I&#39;m using boost 1.51.0.<br>
&gt;<br>
&gt; struct VertexProperty<br>
&gt; {<br>
&gt; ? string x;<br>
&gt; };<br>
&gt;<br>
&gt; typedef boost::property&lt;boost::edge_weight_t, double&gt; IndexProperty;<br>
&gt; typedef boost::labeled_graph&lt;?<br>
&gt; boost::adjacency_list&lt;boost::vecS, boost::setS, boost::bidirectionalS, VertexProperty, IndexProperty&gt;,<br>
&gt; std::string&gt; GraphT;<br>
<br>
I think the issue is that your vertex container is setS.  Many Boost.Graph<br>
algorithms, including BFS, require a vertex_index property in your graph<br>
by default, and the error message is saying that your graph does not have<br>
one.  If you hare not modifying your graph frequently, you might want to<br>
change the setS to vecS in the definition of GraphT and see if that<br>
changes anything.<br>
<br>
-- Jeremiah Willcock<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 10 Apr 2013 18:01:03 +0100<br>
From: &quot;Paul A. Bristow&quot; &lt;<a href="mailto:pbristow@hetp.u-net.com">pbristow@hetp.u-net.com</a>&gt;<br>
To: &lt;<a href="mailto:boost-users@lists.boost.org">boost-users@lists.boost.org</a>&gt;<br>
Subject: Re: [Boost-users] [multiprecision] radix-2<br>
Message-ID: &lt;002e01ce360c$fc000410$f4000c30$@<a href="http://hetp.u-net.com" target="_blank">hetp.u-net.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
<br>
<br>
From: Boost-users [mailto:<a href="mailto:boost-users-bounces@lists.boost.org">boost-users-bounces@lists.boost.org</a>] On Behalf Of Lucas Sousa de Oliveira<br>
Sent: Wednesday, April 10, 2013 1:04 PM<br>
To: <a href="mailto:boost-users@lists.boost.org">boost-users@lists.boost.org</a><br>
Subject: [Boost-users] [multiprecision] radix-2<br>
<br>
Hey Lucas<br>
<br>
I&#39;m considering participating in this year&#39;s GSoC 2013 with Boost. I think the multiprecision<br>
problem is very interesting and I&#39;ll give my best to implement it<br>
<br>
But first, what would you think is the challenge here? What would make this problem very complex?<br>
I&#39;m studying the general radix algorithm and it doesn&#39;t seem to be that bad. Am I being misled?<br>
<br>
I hope you are studying<br>
<br>
<a href="https://svn.boost.org/trac/boost/wiki/SoC2013#Boost.Multiprecision" target="_blank">https://svn.boost.org/trac/boost/wiki/SoC2013#Boost.Multiprecision</a><br>
<br>
<a href="http://www.boost.org/doc/libs/1_53_0/libs/multiprecision/doc/html/index.html" target="_blank">http://www.boost.org/doc/libs/1_53_0/libs/multiprecision/doc/html/index.html</a><br>
<br>
and especially<br>
<br>
<a href="http://www.loria.fr/~zimmerma/mca/mca-cup-0.5.1.pdf" target="_blank">http://www.loria.fr/~zimmerma/mca/mca-cup-0.5.1.pdf</a><br>
<br>
If you study the existing decimal (radix = 10) implementation, you will see that multiprecision<br>
makes it rather complicated, even if the underlying algorithms are not.<br>
<br>
It must be specific for radix = 2 to be fast.<br>
<br>
Ask again if you are still interested after studying these documents, and some of the code.<br>
<br>
It would be useful to see if you can build some of the examples using Boost.Multiprecision decimal,<br>
perhaps using a Boost.Math function or two.  You could send us a zip of your files and output.<br>
<br>
Extra marks for providing a Boost.Test comparing with a handful of published values. You can use any<br>
platform, Linux, Mac or Microsoft with your IDE of choice, perhaps Visual Studio or NetBeans?<br>
<br>
HTH<br>
<br>
Paul<br>
<br>
<br>
---<br>
Paul A. Bristow,<br>
Prizet Farmhouse, Kendal LA8 8AB  UK<br>
<a href="tel:%2B44%201539%20561830" value="+441539561830">+44 1539 561830</a>  07714330204<br>
<a href="mailto:pbristow@hetp.u-net.com">pbristow@hetp.u-net.com</a><br>
<br>
<br>
<br>
<br>
-------------- next part --------------<br>
HTML attachment scrubbed and removed<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Boost-users mailing list<br>
<a href="mailto:Boost-users@lists.boost.org">Boost-users@lists.boost.org</a><br>
<a href="http://listarchives.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://listarchives.boost.org/mailman/listinfo.cgi/boost-users</a><br>
<br>
------------------------------<br>
<br>
End of Boost-users Digest, Vol 3411, Issue 3<br>
********************************************<br>
</blockquote></div><br></div></div></div>

