Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enables optional custom floating point type and sqrt function #57

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

grimaldini
Copy link
Contributor

This allows you to use floats instead of doubles by defining the following before including the implementation:

#define tppl_float float
#define tppl_sqrt std::sqrtf

sqrt and std::sqrtf differ at an assembly level, so this allows for extra-flexibility.

@ivanfratric ivanfratric merged commit b000a4a into ivanfratric:master Nov 25, 2024
2 checks passed
@ivanfratric
Copy link
Owner

Looks good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants