Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
float
#include <iostream> #include <cmath> int main() { const float x = 16777216.0F; // = 16*1024^2 const float y = std::nextafter(x, 0.0F); // https://en.cppreference.com/w/cpp/numeric/math/nextafter std::cout << (x-y); // the next number representable float number toward 0 is 1.0 less the 16*1024^2 }
run
|
edit
|
history
|
help
0
134
Sort array of 0's and 1's
const test
27
reverse function
3
ASHA
VirtualRestoPoint
Meeting_Leandro
lab17feb22x4B.cpp