Post Reply 
Bug with Integers
08-22-2015, 02:04 AM (This post was last modified: 08-22-2015 02:08 AM by Joe Horn.)
Post: #21
RE: Bug with Integers
(08-21-2015 09:35 AM)wawa Wrote:  It is very confusing to know what is the "good way" to spell the appropriate function. As you can see on the screenshot below, there is no way to see what is the good answer :

[Image: modpb.png]

the wrong answer is obtained by typing "mod(7^23,143)" in lower case in CAS mode
the good answer is obtained by typing "(7^23) MOD 143" in upper case in CAS mode too

All this is very confusing.

Hint: What you typed is being obscured by Textbook Display mode, so just turn it off (Home Settings, page 2) to see a more "honest" display:

[Image: textbook_off.png]

I spend most of my Prime time with Textbook Display mode turned off, because the ugly truth is usually more useful than a pretty fiction.

EDIT: Also turn off the "Change apparent integers into exact integers" CAS option (page 1, end of line 3). This prevents real whole numbers from being silently coerced into integers. The presence of the decimal point in the display reveals when the result is an approximate real instead of an exact integer.

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Bug with Integers - Arno K - 08-20-2015, 09:07 PM
RE: Bug with Integers - Helge Gabert - 08-20-2015, 09:28 PM
RE: Bug with Integers - DrD - 08-20-2015, 09:59 PM
RE: Bug with Integers - Arno K - 08-20-2015, 10:06 PM
RE: Bug with Integers - Didier Lachieze - 08-20-2015, 10:31 PM
RE: Bug with Integers - Arno K - 08-21-2015, 12:02 AM
RE: Bug with Integers - Dieter - 08-21-2015, 10:16 PM
RE: Bug with Integers - Arno K - 08-20-2015, 10:04 PM
RE: Bug with Integers - DrD - 08-20-2015, 11:08 PM
RE: Bug with Integers - Arno K - 08-20-2015, 11:54 PM
RE: Bug with Integers - nlj - 08-21-2015, 12:00 AM
RE: Bug with Integers - Arno K - 08-21-2015, 12:09 AM
RE: Bug with Integers - nlj - 08-21-2015, 12:47 AM
RE: Bug with Integers - Helge Gabert - 08-21-2015, 01:55 AM
RE: Bug with Integers - Arno K - 08-21-2015, 08:54 AM
RE: Bug with Integers - Marcus von Cube - 08-21-2015, 09:16 AM
RE: Bug with Integers - wawa - 08-21-2015, 09:35 AM
RE: Bug with Integers - Joe Horn - 08-22-2015 02:04 AM
RE: Bug with Integers - Arno K - 08-22-2015, 06:43 AM
RE: Bug with Integers - nlj - 08-23-2015, 10:32 PM
RE: Bug with Integers - parisse - 08-21-2015, 11:09 AM
RE: Bug with Integers - Arno K - 08-21-2015, 03:14 PM
RE: Bug with Integers - DrD - 08-21-2015, 11:53 AM



User(s) browsing this thread: 2 Guest(s)