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
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