We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sorry if this is an error on my side, I don't think it is but I'm probably not the right person to be messing with this stuff.
The text was updated successfully, but these errors were encountered:
double min(double a, double b) { return a<b ? a : b; }
Sorry, something went wrong.
There is no need to define a function with variable casting etc...
The "standard" way of doing this is just add this line under #include lines: #define min(X,Y) (((X) < (Y)) ? (X) : (Y))
No branches or pull requests
Sorry if this is an error on my side, I don't think it is but I'm probably not the right person to be messing with this stuff.
The text was updated successfully, but these errors were encountered: