(HP71B) Modern GAMMA formula for Forth or ASM?

08042024, 11:48 PM
(This post was last modified: 08042024 11:58 PM by John Keith.)
Post: #4




RE: (HP71B) Modern GAMMA formula for Forth or ASM?
More information on Stirling's approximation can be found here and here. More details here under "Implementation". Assuming that a reasonable number of terms are sufficient for 12digit accuracy, it would be faster and easier to use inline constants for the coefficients in your code.
The HP 49 and 50 have the Gamma function for real and complex arguments. I haven't tried to examine the internal code myself but I would guess that it is rather involved. 

« Next Oldest  Next Newest »

Messages In This Thread 
(HP71B) Modern GAMMA formula for Forth or ASM?  floppy  07292024, 03:46 PM
RE: (HP71B) Modern GAMMA formula for Forth or ASM?  peacecalc  08032024, 05:24 PM
RE: (HP71B) Modern GAMMA formula for Forth or ASM?  floppy  08032024, 06:41 PM
RE: (HP71B) Modern GAMMA formula for Forth or ASM?  John Keith  08042024 11:48 PM

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