What are you currently listening to?
Flux Pavilion - Standing On A Hill - YouTube
Printable View
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?
Assuming you mean "not equal", and without considering any specific programming language semantics, any floating point number will do. Infinity or NaNs also work.
EDIT: Oh, and lately listening to classical music mostly. Currently exploring Rachmaninoff less popular work.
I was able to find quite a few counterexamples with this C++ program:Quote:
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;
}
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.
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.