-
-
Save kaworu/7535674 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* stdmax.cpp | |
* | |
*/ | |
#define __STDC_CONSTANT_MACROS 1 | |
#include <stdint.h> | |
#include <iostream> | |
int | |
main(int argc, char *argv[]) | |
{ | |
uint64_t u = 42; | |
std::cout << std::max(u, UINT64_C(1)) << std::endl; | |
return (0); | |
} |
Author
kaworu
commented
Nov 18, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment