Bug with Integers
|
08-20-2015, 09:07 PM
Post: #1
|
|||
|
|||
Bug with Integers
Today I thought of writing some simple programs to work with integers on my prime, so I first tried something like 7^23 MOD 143, the first part is correctly computed and gives 27368747340080916343. But then 7^23 Mod 143 on the real calculator, the PC and android deliver 23 (in Cas and Home) which simply is wrong as it must be 2, confirmed by xcas, my old and trusty (sad that it has defective keys) 49G+ and even Geogebra.
This is the first time that I encounter a mathematical error on the prime, but this renders it nearly unusable, as from now on I will clearly double-check every calculation that I do until I know that mistakes using numbers are fixed, unbearable. I can live with bugs, find matching workarounds as long as the problems are not essential, but a device for doing maths has to correctly do what its main purpose (crunching numbers) is, especially when a function is built-in and quite simple to program. Arno |
|||
« Next Oldest | Next Newest »
|
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)