Post Reply 
(42S) (& 41C): Ceiling (& Floor) Function Programme
02-09-2017, 09:16 AM (This post was last modified: 02-09-2017 09:16 AM by Dieter.)
Post: #12
RE: HP 42S (& 41C): Ceiling (& Floor) Function Programme
(02-07-2017 02:20 AM)Gerson W. Barbosa Wrote:  Not perfect, 42S only:

00 { 17-Byte Prgm}
01 LBL "FLOOR"
02 IP
03 LASTX
04 FP
05 X<0?
06 COSH
07 IP
08 -
09 END

I guess using SIGN and + instead of COSH and – would have been far too trivial ?-)

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


Messages In This Thread
RE: HP 42S (& 41C): Ceiling (& Floor) Function Programme - Dieter - 02-09-2017 09:16 AM



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