[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32885] norm(NaN,Inf) produce 0
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #32885] norm(NaN,Inf) produce 0 |
Date: |
Wed, 17 Feb 2016 04:05:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #23, bug #32885 (project octave):
Thanks, Rik. I hadn't realized a constructor is so slow.
The other way to avoid the constructor is
val = std::abs (val)
I wasn't sure how fast testing for NaN is.
BTW, thanks for all the time you spend testing and checking in my patches. I
don't want to clutter your inbox, but I say a little "thank you" each time I
get the close notice :)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32885>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/