Post Reply 
First impressions on Casio FX-5800P
05-13-2014, 02:47 PM (This post was last modified: 05-15-2014 01:09 PM by Eddie W. Shore.)
Post: #15
RE: First impressions on Casio FX-5800P
Due to the lack of modulo (MOD) and signum (SIGN) functions on the fx-5800P, here are several subroutines to help compensate for it:

SIGN(x): // x is any calculation stored in a variable
...
x > 0 ⇒ 1 → x :
-x > 0 ⇒ -1 → x:
....

n MOD d :
...
numerator → N
denominator → D
Frac(Abs(N ÷ D)) × D
...

Alternative (better way for MOD):

N - D Intg(N ÷ D)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: First impressions on Casio FX-5800P - Eddie W. Shore - 05-13-2014 02:47 PM



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