Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
isnan_constexpr
#include <iostream> #include <cmath> #include <iomanip> int main() { constexpr bool nan = std::isnan(300.0); std::cout << std::boolalpha << nan; }
run
|
edit
|
history
|
help
0
hw1 Os
NaN inside set
std::function copies
__FUNCTION__ not a preprocessor macro on clang
uniq ptr
Tilted uniform distribution random number generator over min/max range
Pure virtual function called!
Find in vector vs unordered_map
Fun with Pointers #2
K combinator - Lazy evaluation