Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
epsilon
#include <iostream> #include <limits> #include <iomanip> #include <math.h> int main() { float x = sqrt(2.0f); double y = sqrt(2.0); auto z = x; (void)x; (void)y; // https://en.cppreference.com/w/cpp/types/numeric_limits/epsilon std::cout << std::setprecision(std::numeric_limits<decltype(z)>::max_digits10) << std::numeric_limits<decltype(z)>::epsilon(); }
run
|
edit
|
history
|
help
0
initializer_list example
test
Dijkastra
BubDoubArray
BOOST_ENABLE_ASSERT_HANDLER defined
MACRO
Aiutttt
HashFold
Procesos E
шаблонизированное наследование