[BUG] Logical AND
|
01-28-2014, 06:03 AM
Post: #17
|
|||
|
|||
RE: [BUG] Logical AND
(01-27-2014 11:59 PM)Terje Vallestad Wrote:(01-27-2014 11:53 PM)Han Wrote: Just use AND as opposed to and (lower case). The uppercase version does not have this behavior and will evaluate to either a 0 or a 1, or produce an error otherwise (if I'm not mistaken). This goes for both Home and CAS view. Believe it or not (this is SO bizarre), you can use this mixed-case syntax in CAS only: And(x,y) It returns 0 or 1, as you wanted. If Textbook Display is off, it will nicely be displayed in the history as "And", the way you typed it. (That's true for most commands when Textbook Display is off). If Textbook Display is on, it will annoyingly be displayed as "AND" but it will still act like "And", the way you want it to. If the "Change apparent integers into exact integers" CAS setting is turned off, then it will return the reals 0. and 1. instead of the integers 0 and 1, as shown below, but that shouldn't matter. <0|ΙΈ|0> -Joe- |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
[BUG] Logical AND - Terje Vallestad - 01-26-2014, 04:10 PM
RE: [BUG] Logical AND - Tim Wessman - 01-26-2014, 04:27 PM
RE: [BUG] Logical AND - Terje Vallestad - 01-26-2014, 04:45 PM
RE: [BUG] Logical AND - Tim Wessman - 01-26-2014, 07:49 PM
RE: [BUG] Logical AND - patrice - 01-26-2014, 04:59 PM
RE: [BUG] Logical AND - eried - 01-26-2014, 05:01 PM
RE: [BUG] Logical AND - Tugdual - 01-26-2014, 05:15 PM
RE: [BUG] Logical AND - patrice - 01-26-2014, 05:16 PM
RE: [BUG] Logical AND - Tugdual - 01-26-2014, 06:56 PM
RE: [BUG] Logical AND - parisse - 01-27-2014, 09:20 AM
RE: [BUG] Logical AND - Han - 01-28-2014, 12:02 AM
RE: [BUG] Logical AND - Tugdual - 01-27-2014, 06:37 PM
RE: [BUG] Logical AND - patrice - 01-27-2014, 06:42 PM
RE: [BUG] Logical AND - Tugdual - 01-27-2014, 10:53 PM
RE: [BUG] Logical AND - patrice - 01-27-2014, 11:15 PM
RE: [BUG] Logical AND - Terje Vallestad - 01-27-2014, 11:59 PM
RE: [BUG] Logical AND - Joe Horn - 01-28-2014 06:03 AM
RE: [BUG] Logical AND - parisse - 01-28-2014, 07:32 AM
RE: [BUG] Logical AND - Eddie W. Shore - 01-30-2014, 01:49 PM
RE: [BUG] Logical AND - patrice - 02-01-2014, 07:57 PM
RE: [BUG] Logical AND - Joe Horn - 02-02-2014, 05:07 AM
|
User(s) browsing this thread: 4 Guest(s)