AIP <=> "AFP"

Discussion around the SwissMicros DM42 calculator
Post Reply
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

AIP <=> "AFP"

Post by mcc »

Hi,

THIS IS BY NO WAY A EXPLICIT OR IMPLICIT CRITISM, BUG REPORT OR SUCH THING!
This question is driven by pure curiosity... !

There is a command "AIP" for the HP42s/Free42s/DM42, which cuts off the digits after the
decimal point/comma and put the ASCII representation of the remaining integer part into
the Alpha register.

But its counterpart "AFP" is missing despite there exists IP an FP.

What could be the reason for HP's decision to do so?

Cheers!
Have a nice weekend!
Meino
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: AIP <=> "AFP"

Post by Walter »

mcc wrote:
Sat Mar 24, 2018 11:19 am
There is a command "AIP" for the HP42s/Free42s/DM42, which cuts off the digits after the
decimal point/comma and put the ASCII representation of the remaining integer part into
the Alpha register.

But its counterpart "AFP" is missing despite there exists IP an FP.
I'd miss an "APNUM" more -- appending an entire real number in the current output format to the alpha string in the respective register. Appending just fractional parts doesn't make any sense to me. YMMV
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
dlachieze
Posts: 613
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: AIP <=> "AFP"

Post by dlachieze »

mcc wrote:
Sat Mar 24, 2018 11:19 am
But its counterpart "AFP" is missing despite there exists IP an FP.

What could be the reason for HP's decision to do so?
AIP is useful when you work with loop counters ccccccc.fffii to be able to display the current count without the fractional part. I don't see a similar need for AFP.
Walter wrote:
Sat Mar 24, 2018 11:54 am
I'd miss an "APNUM" more -- appending an entire real number in the current output format to the alpha string in the respective register.
Isn't it what ARCL does already?

What I'm missing on the 42 from the 41C X-Functions is ANUM.
DM42: 00425 - DM41X: β00066 - WP43: 00042
User avatar
pcscote
Posts: 169
Joined: Tue May 02, 2017 12:12 pm
Location: Québec/Canada

Re: AIP <=> "AFP"

Post by pcscote »

dlachieze wrote:
Sat Mar 24, 2018 12:32 pm
Isn't it what ARCL does already?
Yep!
Using IP or FP while playing with FIX xx and flags 28/29 you can get pretty much get what you need.
Unfortunately STOFLAG/RCLFLAG functions from HP-41 XFM module are missing.
Sylvain
[DM1x/DM1xL/DM41/DM41L/DM41X/DM42]
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: AIP <=> "AFP"

Post by Walter »

dlachieze wrote:
Sat Mar 24, 2018 12:32 pm
Walter wrote:
Sat Mar 24, 2018 11:54 am
I'd miss an "APNUM" more -- appending an entire real number in the current output format to the alpha string in the respective register.
Isn't it what ARCL does already?
Thanks for pointing to it -- obviously slipped my attention.
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
hpgene
Posts: 36
Joined: Mon May 29, 2017 3:02 pm

Re: AIP <=> "AFP"

Post by hpgene »

walter wished for "pending an entire real number in the current output format"

dlachieze replied: Isn't that what ARCL does?

To which Sylvain replied: Using IP or FP while playing with FIX xx and flags 28/29 you can get pretty much get what you need.


Gene: Ah, but the original feature request was to add the entire real number in the current output format. ARCL does just that. No flags needed since the original format was specified. :-)
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: AIP <=> "AFP"

Post by Walter »

hpgene wrote:
Fri Apr 06, 2018 11:03 pm
walter wished for "pending an entire real number in the current output format"
Even proper copying and pasting seems to be difficult. And the original question was answered already ... but not by everybody yet.
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
Post Reply