Is this an ok solution to make this test pass?

I’d think that’d be much more stable. tgamma has a pretty limited domain.