|
| From: | Felipe G. Nievinski |
| Subject: | [Octave-bug-tracker] [bug #41674] image package: temporary arrays in imresize are doubles |
| Date: | Thu, 27 Feb 2014 15:48:36 +0000 |
| User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36 |
Follow-up Comment #3, bug #41674 (project octave):
the tolerance would have to be different for each value.
so yes, you could check for:
all( abs(XD - double(single(XD))) < double(eps(single(XD))) )
but I believe that's equivalent to:
all(XD == double(single(XD)))
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41674>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |