HP71 Scale10() function
|
09-13-2022, 10:23 AM
Post: #4
|
|||
|
|||
RE: HP71 Scale10() function
.
Hi, KeithB, (09-12-2022 06:55 PM)KeithB Wrote: The hyperbolic thread made me drag out my HP71 Math Pac manual and I saw an entry for the Scale10() function. What good is it? Has anyone used it? Was it ever used on any other calculators? It's a mostly useless function, IMHO. I guess they put it as a keyword because it already was in the ROM as an internal routine, so making it user-accessible was just a matter of providing a keyword for it and simply calling the internal routine, as in the case of the REV$ string function, which was absent from the mainframe's instruction set but implementing it in a LEX file required just assigning a keyword to it and directly calling the internal routine already present in the System ROMs without further ado. Perhaps the implementation of IEEE math did require having the SCALE10 function exposed to the user for full compliance. I only used it a very few times (perhaps twice or thrice) and mostly to check its suitability for very specific one-of-a-kind purposes, but as the usual suspects at HP decided to burden it with so long a keyword (7 characters !), it was problematic to include several instances within a single math expression, where it would be most useful, without overflowing the length of the line. They did the same with the Math ROM's INTEGRAL keyword, which J-F Garnier shortened in his new revamped Math ROM. Also, it seems that accessing a function in the Math ROM does carry some overhead in execution time, so I found it slower than its obvious equivalent ( SCALE10(X,N) -> X*10^N ), if I recall correctly, so in the end I considered it useless and even aesthetically unappealing in listings and discarded using it for good. V. All My Articles & other Materials here: Valentin Albillo's HP Collection |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP71 Scale10() function - KeithB - 09-12-2022, 06:55 PM
RE: HP71 Scale10() function - Joe Horn - 09-13-2022, 05:10 AM
RE: HP71 Scale10() function - Stefan_Titan2944A - 09-13-2022, 07:56 AM
RE: HP71 Scale10() function - Valentin Albillo - 09-13-2022 10:23 AM
RE: HP71 Scale10() function - Albert Chan - 09-13-2022, 11:25 AM
RE: HP71 Scale10() function - Valentin Albillo - 09-13-2022, 11:36 AM
RE: HP71 Scale10() function - J-F Garnier - 09-13-2022, 11:52 AM
RE: HP71 Scale10() function - Valentin Albillo - 09-13-2022, 12:13 PM
RE: HP71 Scale10() function - Stefan_Titan2944A - 09-13-2022, 11:44 AM
RE: HP71 Scale10() function - KeithB - 09-13-2022, 01:27 PM
RE: HP71 Scale10() function - Stefan_Titan2944A - 09-13-2022, 02:02 PM
RE: HP71 Scale10() function - KeithB - 09-13-2022, 02:47 PM
|
User(s) browsing this thread: 1 Guest(s)