AIP <=> "AFP"

Discussion around the Swiss Micros DM42 calculator.
Post Reply
mcc
Posts: 158
Joined: Fri Jun 23, 2017 3:10 am

AIP <=> "AFP"

Post by mcc » Sat Mar 24, 2018 10:19 am

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 v.:3.7 / 3.7.1 as compiled by SwissMicros

User avatar
Walter
Posts: 726
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: AIP <=> "AFP"

Post by Walter » Sat Mar 24, 2018 10:54 am

mcc wrote:
Sat Mar 24, 2018 10: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
DM42 SN: 00041 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

dlachieze
Posts: 126
Joined: Thu May 04, 2017 10:20 am
Location: France

Re: AIP <=> "AFP"

Post by dlachieze » Sat Mar 24, 2018 11:32 am

mcc wrote:
Sat Mar 24, 2018 10: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 10: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 SN: 00425

User avatar
pcscote
Posts: 25
Joined: Tue May 02, 2017 10:12 am
Location: Quebec, Canada

Re: AIP <=> "AFP"

Post by pcscote » Sat Mar 24, 2018 2:09 pm

dlachieze wrote:
Sat Mar 24, 2018 11:32 am
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/DM42]

User avatar
Walter
Posts: 726
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: AIP <=> "AFP"

Post by Walter » Sat Mar 24, 2018 2:46 pm

dlachieze wrote:
Sat Mar 24, 2018 11:32 am
Walter wrote:
Sat Mar 24, 2018 10: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.
DM42 SN: 00041 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

hpgene
Posts: 18
Joined: Mon May 29, 2017 1:02 pm

Re: AIP <=> "AFP"

Post by hpgene » Fri Apr 06, 2018 9:03 pm

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: 726
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: AIP <=> "AFP"

Post by Walter » Sat Apr 07, 2018 6:05 am

hpgene wrote:
Fri Apr 06, 2018 9: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.
DM42 SN: 00041 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

Post Reply