Post Reply 
(10C) ABSolute value Function
01-09-2019, 03:12 AM (This post was last modified: 01-09-2019 03:14 AM by Gamo.)
Post: #4
RE: (10C) ABSolute value Function
Example program to demonstrate the use of ABSolute Value.

This program make endless loop to keep subtracting 1 to accumulate
negative value then use ABS to make it positive.

[R/S] display "-1" 1 keep continue ......

Program:
Code:

01  1
02 STO-0
03 RCL 0
04 PSE
05  0
06 X<>Y
07 X≤Y 
08 CHS
09 PSE
10 GTO 01

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(10C) ABSolute value Function - Gamo - 01-08-2019, 06:43 AM
RE: (10C) ABSolute value Function - Gamo - 01-08-2019, 08:07 AM
RE: (10C) ABSolute value Function - Gamo - 01-09-2019 03:12 AM



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