WP34S Fibonacci function



#3

I am guessing that the one use in Wp34S use the equation with golden ratio constant to directly calc the fib term, and not by adding terms? fib(20) and fib(1700) takes same amount of time on wp34s


#4

Kind of. It calculates the result directly in real and complex modes. In integer mode it uses repeated addition.


- Pauli


#5

really? so if i am in integer mode it actually would do addition of terms? interesting...


#6

But not too exciting: FIB(93) is the limit for UNSIGNed integers, then it's going to overflow. E.g. FIB(100) simply returns zero with flag B set.


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP50g: Writing a function that returns a function Chris de Castro 2 2,141 12-10-2013, 06:49 PM
Last Post: Han
  Fibonacci Friday Dave Shaffer (Arizona) 2 1,228 06-10-2013, 03:19 AM
Last Post: Paul Dale
  happy fibonacci day 5/8/13 Allen 8 2,915 05-09-2013, 01:48 AM
Last Post: Gerson W. Barbosa
  [WP34s] RSD function Dieter 11 3,338 01-29-2013, 08:58 AM
Last Post: Walter B
  [WP34s] Parallel function Dieter 25 6,060 11-05-2012, 04:04 PM
Last Post: Marcus von Cube, Germany
  [WP34S] WP34S firmware on the AT91SAM7L-STK dev kit? jerome ibanes 1 1,226 10-04-2012, 04:59 PM
Last Post: Paul Dale
  wp34s INC s function Jeff O. 18 4,599 10-03-2012, 02:20 AM
Last Post: Paul Dale
  RPL prog for Fibonacci on HP 48G needs minor modification. help. wildpig 68 17,173 07-09-2012, 09:38 AM
Last Post: Gilles Carpentier
  [WP34S] LocRm allocation function missing? Chris Tvergard 10 3,295 05-14-2012, 10:14 AM
Last Post: Chris Tvergard
  [WP34S] Curious Bug in Inverse Normal Function Les Wright 61 13,198 05-01-2012, 02:44 AM
Last Post: Paul Dale

Forum Jump: