[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44382] test fieldnames fails in MXE-octave
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #44382] test fieldnames fails in MXE-octave |
Date: |
Fri, 27 Feb 2015 22:51:27 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
Follow-up Comment #3, bug #44382 (project octave):
That's correct. It means Octave created a java object. You can use
methods (x)
to see what functions the particular object supports. Try, for example,
x.toString ()
to see the value of pi printed out.
Try executing the failing test line by line and see where it fails.
x = javaObject ("java.lang.Double", 10)
names = fieldnames (x)
strcmp (names, "MAX_VALUE")
any (strcmp (names, "MAX_VALUE"))
setxor (names(:), {"POSITIVE_INFINITY", "NEGATIVE_INFINITY", ...
"NaN", "MAX_VALUE", "MIN_NORMAL", "MIN_VALUE", ...
"MAX_EXPONENT", "MIN_EXPONENT", "SIZE", "TYPE"})));
If I had to guess, I bet there is a difference in upper/lower case for "NaN".
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44382>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/