octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43273] class of bitwise functions is incorrec


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #43273] class of bitwise functions is incorrect when using boolean
Date: Sun, 21 Sep 2014 21:22:59 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.1.0

URL:
  <http://savannah.gnu.org/bugs/?43273>

                 Summary: class of bitwise functions is incorrect when using
boolean
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Sun 21 Sep 2014 09:22:58 PM GMT
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Found during the code sprint


octave> a = bitand (true, true)
a =  1
octave> class (a)
ans = double


The output should have been of class logical. The same error happens in bitor,
and bitxor. I have added tests to this functions which are failing.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43273>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]