Post Reply 
wp34s - FIB problem (DBLON)
11-23-2018, 08:08 AM
Post: #3
RE: wp34s - FIB problem (DBLON)
(11-22-2018 07:59 PM)Gerson W. Barbosa Wrote:  That's a minor problem, actually. In double precision mode FIB returns a near-integer for most arguments. For example:

     10 FIB --> 54.99999999999999999999999999999995

A simple workaround is

10 FIB CEIL --> 55

Is it possible for the result of FIB (for a whole number) to be slightly larger than a whole number? If so, ROUNDI would be better than CEIL here.

— Ian Abbott
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: wp34s - FIB problem (DBLON) - ijabbott - 11-23-2018 08:08 AM



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