- ASSERT_EQ("0.78539816339744828", convertToString(0.78539816339744830961, 0, 3));
- ASSERT_EQ("4.9406564584124654E-324", convertToString(4.9406564584124654e-324, 0, 3));
- ASSERT_EQ("873.18340000000001", convertToString(873.1834, 0, 1));
- ASSERT_EQ("8.7318340000000001E+2", convertToString(873.1834, 0, 0));
- ASSERT_EQ("1.7976931348623157E+308", convertToString(1.7976931348623157E+308, 0, 0));
+ ASSERT_EQ("0.7853981633974483", convertToString(0.78539816339744830961, 0, 3));
+ ASSERT_EQ("4.940656458412465E-324", convertToString(4.9406564584124654e-324, 0, 3));
+ ASSERT_EQ("873.1834", convertToString(873.1834, 0, 1));
+ ASSERT_EQ("8.731834E+2", convertToString(873.1834, 0, 0));