Post Reply 
Wrong output for a matrix in a program of mine
10-17-2020, 09:33 PM (This post was last modified: 10-17-2020 09:59 PM by salvomic.)
Post: #1
Wrong output for a matrix in a program of mine
hi,
please help with the problem I found in this program of mine:
HP Prime Software Library: Jacobi function

With G2 Software version 2.1.14433 (2020 01 21) both in CAS and Home, if ‹number format› in Home Settings is set to "Standard" and Angular mode is "RAD" the return of the program with the input given in that thread is a matrix where the second elements of the two rows present a wrong char (a "rectangle", "⌷": is it for "not recognised character" of for ellipsis "..."?) instead of the right numbers (too long?).
In the thread I explain my tries to reproduce it.

Thanks in advance!
Salvo

EDIT: in iOS I get the sign "..." in Home but in CAS I get an error: "Error in input" with the same data...
Why?


Attached File(s) Thumbnail(s)
   

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
10-18-2020, 10:42 AM
Post: #2
RE: Wrong output for a matrix in a program of mine
Salvo, do you have the correct #pragma statement in your program? A listing would be useful.

See here: https://www.hpmuseum.org/forum/thread-12464.html

There are only 10 types of people in this world. Those who understand binary and those who don't.
Find all posts by this user
Quote this message in a reply
10-18-2020, 03:40 PM (This post was last modified: 10-18-2020 07:27 PM by salvomic.)
Post: #3
RE: Wrong output for a matrix in a program of mine
(10-18-2020 10:42 AM)grsbanks Wrote:  Salvo, do you have the correct #pragma statement in your program? A listing would be useful.

See here: https://www.hpmuseum.org/forum/thread-12464.html

hi,
no, in the original program there is no PRAGMA statement,
I set the #pragma statement but with its default form there wasn't any change. How should I set it?

Another idea is to show the matrix with a lesser number of digits, like 6, e.g. using ROUND (..., 6) or so... But this is an approximation.


Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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