HP Forums
(11C) Modulo (the remainder after division ) - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (11C) Modulo (the remainder after division ) (/thread-10173.html)



(11C) Modulo (the remainder after division ) - Gamo - 02-15-2018 05:19 AM

MOD program for the remainder after division.

Code:

LBL A
STO 1
X<>Y
STO 2
X<>Y
/
INT
RCL 1
x
CHS
RCL 2
+
RTN

Example:
MOD (15651153, 1546223)

15651153 ENTER 1546223 [A] result 188923


Gamo