Skip to content

Conversation

Neerajpathak07
Copy link
Member

Progresses #649 .

Description

What is the purpose of this pull request?

This pull request:

  • adds math/base/special/gamma-lanczos-sumf which is the single-precision version of gamma-lanczos-sum

Related Issues

Does this pull request have any related issues?

This pull request:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added the Math Issue or pull request specific to math functionality. label Mar 16, 2025
Comment on lines 61 to 62
expected = float64ToFloat32( gamma( x[i] ) );
expected /= float64ToFloat32( float64ToFloat32( pow( x[i]+G-0.5, x[i]-0.5 ) ) / float64ToFloat32( exp( x[i]+G-0.5 ) ) ); // eslint-disable-line max-len
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have kept it this way till we have single-precision versions for pow, exp and gamma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Math Issue or pull request specific to math functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants