dune-community / dune-xt-common

Other
2 stars 3 forks source link

Correct float cmp usage for unsigned integral types #17

Closed renefritze closed 8 years ago

renefritze commented 8 years ago

I'm somewhat sure that since we're using an ungarded std::abs(unsigned - unsigned) bad things will happen

renefritze commented 8 years ago

To be clear, this solves the potential underflow issue.