( Free42 , DM42 ) Overflow is not trapped of basic matrix arithmetic,
|
08-12-2023, 12:44 PM
Post: #1
|
|||
|
|||
( Free42 , DM42 ) Overflow is not trapped of basic matrix arithmetic,
Dear all
I came across something strange with overflow or out range error reporting for basic matrix arithmetic. With flag 24 clear and 25 clear, any overflow should result in aborted calculation and a warning. However consider this simple example where matrix multiplication and overflow is not trapped, it only result in elements being silently replaced by maxreal DM42 or Free42 in decimal mode flag 24 clear, flag 25 clear 1 ENTER NEW 8E6144 + STO M Matrix multiplication: RCL M ENTER x result in numbers being silently replaced by maxreal ( 9.99999E6144) Matrix scaling: RCL M 10 x if you scale by 10 you get an error as you should Matrix addition: RCL M ENTER + for addition you get an error as it should. When in binary mode the limits are different but with same inconsistency Can anyone check this on a real hp42s? It is not often you get overflow with the new large floating point range, but still surprising to find this after all the use for many years. Best regards Gjermund |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
( Free42 , DM42 ) Overflow is not trapped of basic matrix arithmetic, - Gjermund Skailand - 08-12-2023 12:44 PM
RE: ( Free42 , DM42 ) Overflow is not trapped of basic matrix arithmetic, - rprosperi - 08-12-2023, 06:49 PM
RE: ( Free42 , DM42 ) Overflow is not trapped of basic matrix arithmetic, - Werner - 08-12-2023, 10:55 PM
RE: ( Free42 , DM42 ) Overflow is not trapped of basic matrix arithmetic, - Werner - 08-13-2023, 10:06 AM
RE: ( Free42 , DM42 ) Overflow is not trapped of basic matrix arithmetic, - Gjermund Skailand - 08-13-2023, 10:37 AM
|
User(s) browsing this thread: 1 Guest(s)