On 02/05/15 19:07 +0200, Marc Glisse wrote:
On Sat, 2 May 2015, Jonathan Wakely wrote:
On 02/05/15 18:27 +0200, Marc Glisse wrote:
On Sat, 2 May 2015, Jonathan Wakely wrote:
These where simple to implement (almost too simple ... I probably
got something wrong!)
I didn't remember that std::
On Sat, 2 May 2015, Jonathan Wakely wrote:
std::abs seems to work fine for unsigned, the overload in for
integral types just uses __builtin_fabs.
http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#2192
That overload should die.
--
Marc Glisse
On Sat, 2 May 2015, Jonathan Wakely wrote:
On 02/05/15 18:27 +0200, Marc Glisse wrote:
On Sat, 2 May 2015, Jonathan Wakely wrote:
These where simple to implement (almost too simple ... I probably
got something wrong!)
I didn't remember that std::abs works for unsigned. It will need more wor
On 02/05/15 18:27 +0200, Marc Glisse wrote:
On Sat, 2 May 2015, Jonathan Wakely wrote:
These where simple to implement (almost too simple ... I probably
got something wrong!)
I didn't remember that std::abs works for unsigned. It will need more
work for performance, but that can certainly be
On Sat, 2 May 2015, Jonathan Wakely wrote:
These where simple to implement (almost too simple ... I probably
got something wrong!)
I didn't remember that std::abs works for unsigned. It will need more work
for performance, but that can certainly be done later (I didn't look at
the code beyon