HP Forums
Intdiv and Rmdr (9750gII) - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Intdiv and Rmdr (9750gII) (/thread-10153.html)



Intdiv and Rmdr (9750gII) - brickviking - 02-12-2018 12:09 AM

On my Casio 9750gII, I have two functions:
  • Int/
  • Rmdr

I can find an equivalent to Rmdr (MOD) but I can't find an equivalent to Int/ (i.e. 120 Int/ 60 = 2). Is there one? I've poked around in HLP49 and in the AUR without success so far.

I know I could effectively write one: \<< X Y / FLOOR \>> to obtain the same value as Int/ but I was thinking that I'd simply missed something.

(Post 173)


RE: Intdiv and Rmdr (9750gII) - DavidM - 02-12-2018 01:33 AM

I'm assuming that you're looking for functions on your 50g that provide the integer division/remainder functions.

Take a look at IDIV2, IREMAINDER and IQUOT. The Advanced Users Reference manual has details on these commands.

Examples of their use:

100 7 IDIV2 => 14 2

100 7 IREMAINDER => 2

100 7 IQUOT => 14

120 60 IQUOT => 2


RE: Intdiv and Rmdr (9750gII) - brickviking - 02-12-2018 04:21 AM

(02-12-2018 01:33 AM)DavidM Wrote:  I'm assuming that you're looking for functions on your 50g that provide the integer division/remainder functions.

Take a look at IDIV2, IREMAINDER and IQUOT. The Advanced Users Reference manual has details on these commands.

Examples of their use:

100 7 IDIV2 => 14 2

100 7 IREMAINDER => 2

100 7 IQUOT => 14

120 60 IQUOT => 2

I get something somewhat different than the output you gave. I get what amounts to the following diagram:
Code:

100|7
   |__________
 30|1
then I have to hit the IDIV2 key again to display the stack again. It only seems to show up that way when I have Step-by-step set in the CAS flags. I guess that'll be a reason not to leave Step-by-step set. Thanks for the response, that'll explain why I got the weird "looks like a traditional division diagram", I thought I'd done something wrong.

(Post 174)


RE: Intdiv and Rmdr (9750gII) - DavidM - 02-12-2018 02:52 PM

(02-12-2018 04:21 AM)brickviking Wrote:  I get something somewhat different than the output you gave. I get what amounts to the following diagram:
Code:

100|7
   |__________
 30|1
then I have to hit the IDIV2 key again to display the stack again. It only seems to show up that way when I have Step-by-step set in the CAS flags. I guess that'll be a reason not to leave Step-by-step set. Thanks for the response, that'll explain why I got the weird "looks like a traditional division diagram", I thought I'd done something wrong.

(Post 174)

Until today I've never used step-by-step mode, so I didn't think to check for that first. Thanks for pointing that out! Now if I can only remember that issue in the future...

If in that mode, pressing LS-ON (for CONTinue) appears to show subsequent "steps", ultimately leaving the expected results on the stack.