timedata-org / old-timedata

Time arts data - high-performance color processing in C++ and Python.
7 stars 3 forks source link

Make sure to use banker's rounding in round commands! #75

Closed rec closed 8 years ago

rec commented 8 years ago

https://www.reddit.com/r/Python/comments/4qkn23/sooo_i_just_noticed_this_but_for_some_reason/

C++ doesn't do this and we're using C++'s math. But we barely use the round function, so this is of little importance...

rec commented 8 years ago

Oh, hmm, apparently it's IEEE, so all languages do it. hah!