Post Reply 
Intdiv and Rmdr (9750gII)
02-12-2018, 12:09 AM
Post: #1
Intdiv and Rmdr (9750gII)
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)

Regards, BrickViking
HP-50g |Casio fx-9750G+ |Casio fx-9750GII (SH4a)
Visit this user's website Find all posts by this user
Quote this message in a reply
02-12-2018, 01:33 AM
Post: #2
RE: Intdiv and Rmdr (9750gII)
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
Find all posts by this user
Quote this message in a reply
02-12-2018, 04:21 AM
Post: #3
RE: Intdiv and Rmdr (9750gII)
(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)

Regards, BrickViking
HP-50g |Casio fx-9750G+ |Casio fx-9750GII (SH4a)
Visit this user's website Find all posts by this user
Quote this message in a reply
02-12-2018, 02:52 PM
Post: #4
RE: Intdiv and Rmdr (9750gII)
(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.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)