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

Change comparison syntax #8

Open
mdekauwe opened this issue Aug 11, 2016 · 0 comments
Open

Change comparison syntax #8

mdekauwe opened this issue Aug 11, 2016 · 0 comments

Comments

@mdekauwe
Copy link
Owner

Some of the code uses a functional to compare floats and it some of the more recent quick edits this is no longer true. I should fix this.

Just noticed that as part of C99 we can just use inbuilt macros, so let's do that:

https://www.gnu.org/software/libc/manual/html_node/FP-Comparison-Functions.html

isgreater
isgreaterequal
isless
islessequal

Quick find & replace job.

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

No branches or pull requests

1 participant