Currently in number_test_context.cuh:169 setprecision(3) is used for all number types
effectively if using numbers bigger than 999 this cuts them to 3 significant numbers, not (as probably intended) 3 significant numbers after the dot. This fact is not mentioned anywhere and we couldn't understand why our rounding functor tests were failing without this knowledge.
https://en.cppreference.com/w/cpp/io/manip/setprecision
Currently in
number_test_context.cuh:169setprecision(3) is used for all number typeseffectively if using numbers bigger than 999 this cuts them to 3 significant numbers, not (as probably intended) 3 significant numbers after the dot. This fact is not mentioned anywhere and we couldn't understand why our rounding functor tests were failing without this knowledge.
https://en.cppreference.com/w/cpp/io/manip/setprecision