you: i wonder if this problem is NP-complete? me: actually a trivial subproblem of it, which seems easy, is NP-complete on its ownpic.twitter.com/miSLFHswsq
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Under what conditions? Clearly (2*x)*0.5 is not same as 2*(x*0.5) for x=DBL_MAX.
oh i never said it'd be bit-exact ;-)
I understood the problem of optimal rearrangement in terms of equivalence...
i work on graphics, so "equivalence" means "within some reasonable epsilon on our test shaders"
i'm part of the cabal that tells people to never use == on floats
fun fact: there's a GPU where in some cases (max(a,b) == a || max(a,b) == b) returns false for non-NaN inputs
(this is a good story, if anyone cares)
Yes please!
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.