What are you currently listening to?
Flux Pavilion - Standing On A Hill - YouTube
Trivia question of the night:
For what value of x is (x /= x) true?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Last edited by Mario F.; 05-08-2016 at 08:46 AM.
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
I was able to find quite a few counterexamples with this C++ program:Originally Posted by Mario F.
which makes sense to me since floating point inaccuracy is concerned with two different values that may otherwise appear identical, whereas in comparing x with x, ordinarily the same value is compared.Code:#include <iostream> int main() { for (double x = -10000.0; x < 10000.0; x += 0.01) { if (x != x) { std::cout << x << " is not equal to " << x << std::endl; break; } } std::cout << "done" << std::endl; }
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
I've been trying out this band.
If you happen to like what's known as theatricore, that is. What a weird term. It comes from metalcore which is a genre that takes some of the harder/more "metal" parts and combines them with some more "hardcore" emo influences. Then you combine theatricality to that bada bing, bada boom, you get theatricore!
I've had Dream Theater's new album, "The Astonishing," on repeat since it came out. Truly an outstanding work of art.
What can this strange device be?
When I touch it, it gives forth a sound
It's got wires that vibrate and give music
What can this thing be that I found?
Just some music from the 80s.
I like the typical classics that everyone can appreciate.
A lot of various kinds of music. My wife and I dance at both club style and swing type venues.
What can this strange device be?
When I touch it, it gives forth a sound
It's got wires that vibrate and give music
What can this thing be that I found?