Subject: Re: [boost] [xint] Third release is ready, requesting preliminary review
From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2010-05-03 12:35:22
Hi Chad !
On Monday 03 May 2010 18:20:13 you wrote:
> Thanks, I was hoping to get some help with that... bjam isn't exactly an
> easy tool to learn.
Yes, the learning curve is quite steep ;-)) Feel free to ask, I'm not a guru,
but experienced users ;-)
> I'll take a look at your changes later today.
Thanks. I found that the split up "test_add" case is running into a deadlock.
Please find the helgrind dump attached.
The code in "set_generator" ist trying to lock the mutext which is already
locked in the constructor.
By the way, why is "random_by_size" a class member ? A far as I can see it
could very well be a free function. And I wonder about "return
BOOST_XINT_MOVE(p);" instead of "return p;" and let the compiler optimise the
return via NRVO...
> > Impressive work, I think I can use it...
You're welcome. I've been looking for a large integer as a building block for
fixed decimal arithmetik for quite a while ;-))
-- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold_at_[hidden] ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk