Post
by **Jaymos** » Sun Sep 08, 2019 1:12 am

Fault Report:

Using a freshly compiled emulator, I removed bin file for a fresh start, then 77 ENTER 88 [y^x] keeps on crashing, with "segmentation fault 11".

Integer operation question:

77. ENTER 8. [y^x] works and when this real number is converted to short int it works. # 10, and the answer a short int.

Larger numbers fail. As test, I take:

2.0 ENTER 55 [y^x] which gives 3.6... x 10^16, within range of short int.

I then do # D which gives me 0 base 10. Not right. I expected it to give me a 15 odd significant digit integer with zeroes where the figures were gone.

2.0 ENTER 45 [y^x] gives 35 184 372 088 832., also within range of short int. I then do # D which gives me 35 184 372 088 832 base 10. Correct answer.

To confirm that 2^55 is within range of the short int, I do 2#10 ENTER 55 [y^x] which produces a short int of 36 028 797 018 963 968 base 10.

I take this, multiply by 1.0, and convert back to base 10 short int, i.e.: 1.0 [*] # D, and I get 0 base 10 again. Not correct.

Maybe I am misunderstanding the expected conversion from real to longint. If so, please refer to a source where I can read.

Best regards

Jaco

Jaco Mostert

Elec Eng, South Africa

WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, PB700; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.

43S operators right. DM42 sn. 03818.