Scientific RPN Calculator (with ATTINY85)

03092018, 10:28 AM
Post: #30




RE: Scientific RPN Calculator (with ATTINY85)
(03092018 09:22 AM)deetee Wrote: Wow I did not know that my HP35 (disguised as !) calculates gamma instead of faculty. Right now I have implemented the typical forloop to calculate n! Nemes is also for large numbers. Lanczos is another commonly used approximation. All are okay. The trick is to make sure the number is large enough: Code: double fac = 1; The required threshold isn't big but it depends on the approximation used. You'll want to check the recurrence. Pauli 

« Next Oldest  Next Newest »

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