more dividing fun

This commit is contained in:
neingeist 2014-08-18 21:55:45 +02:00
parent cae45c8613
commit 987fff370d

View file

@ -14,5 +14,10 @@ int main() {
assert(2.0/2 == 1); assert(2.0/2 == 1);
assert(2.0/2 == 1.0); assert(2.0/2 == 1.0);
assert(0/2.0 == 0);
assert(1/2.0 == 0.5);
assert(2/2.0 == 1);
assert(2/2.0 == 1.0);
std::cout << "divided we stand." << std::endl; std::cout << "divided we stand." << std::endl;
} }