HP Forums
(11C)(15C) Y^X for Large Numbers - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (11C)(15C) Y^X for Large Numbers (/thread-10023.html)



(11C)(15C) Y^X for Large Numbers - Gamo - 01-26-2018 09:24 AM

Program to calculate Y^X with large numbers.
The result is in the X and Y registers in the form Y EEX X.

Example:

100^75
100 ENTER 75 A > 1 X<>Y 150 same as 1 x 10^150 or 1 EEX 150

1234^123
1234 ENTER 123 A > 1.7052 X<>Y 380 approximately 1.7052 x 10^380 or 1.7052 EEX 380

Code:

LBL A
X<>Y
LOG
x
FRAC
LSTx
INT
X<>Y
10^X
RTN