sniffnoy: (Default)
[personal profile] sniffnoy
Open up Windows calculator (assuming you're on a Windows machine). Go to scientific view (if it's not already!). Enter -1/2. Hit factorial. Square.

You ought to notice a few things:

1. Hitting factorial does not produce an error - Windows calculator apparently has some way of calculating "factorials" of fractional values. This was something I noticed long ago, long before I ever heard about the gamma function. But do these values indeed match Γ(x+1)?
2. They do indeed. Or at the very least, they do for x =-1/2. Because you'll notice the number you get after hitting factorial is positive, and the number you get after squaring is pi (or, subtracting pi, it is to 32 decimal places) - ie, it is √π, which, for reasons I don't know (but Mathworld and Wikipedia say so), equals Γ(1/2), ie, Γ(-1/2+1). So I'd say it's pretty probable that...

Windows Calculator uses the gamma function, at least partly, to calculate factorials!

Is that amazing and useless, or what?

-Sniffnoy

--
When trying the fact that " quite simple what is designed completely
too little we should do to estimate the device of the common mistake
complete idiot. " - The harmless Douglas Adams, mostly
(Everyone loves Babelfish!)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

January 2026

S M T W T F S
     123
45678910
11121314151617
18192021222324
25262728293031
Page generated Jan. 16th, 2026 03:49 am
Powered by Dreamwidth Studios