The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
(32S) Floor Function
06-03-2017, 07:47 AM (This post was last modified: 06-15-2017 01:25 PM by Gene.)
Post: #1
(32S) Floor Function
For real input the programme returns Floor of input without disturbing the stack.

Improvements most welcome.

Code:

0.    LBL “F”
1.    X>=0?
2.    GTO O
3.    STO F
4.    FP
5.    STO G
6.    ABS
7.    X≠0?
8.    RCL/ G
9.    RCL+ F
10.    LBL O
11.    IP
12.    RTN
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(32S) Floor Function - Gerald H - 06-03-2017 07:47 AM
RE: (32S) Floor Function - c785 - 06-29-2017, 04:02 PM
RE: (32S) Floor Function - Werner - 06-30-2017, 07:05 AM
RE: (32S) Floor Function - c785 - 06-30-2017, 07:23 AM
RE: (32S) Floor Function - Werner - 06-30-2017, 08:51 AM
RE: (32S) Floor Function - c785 - 06-30-2017, 11:31 AM
RE: (32S) Floor Function - c785 - 06-30-2017, 02:58 PM
RE: (32S) Floor Function - Werner - 07-01-2017, 10:16 AM
RE: (32S) Floor Function - c785 - 07-02-2017, 09:29 AM
RE: (32S) Floor Function - Werner - 07-02-2017, 10:18 AM



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