to_decimal_string 57 src/Float16.cpp " to float16_t results in overflow (Result \"" << toFP16(result).to_decimal_string() << "\")\n"; to_decimal_string 72 src/Float16.cpp toFP16(result).to_decimal_string() << "\" in decimal)\n"; to_decimal_string 177 src/Float16.h EXPORT std::string to_decimal_string(unsigned int significantDigits = 0) const; to_decimal_string 40 test/correctness/float16_t_constants.cpp h_assert(zeroP.to_decimal_string(0) == "0.0E+0", "+ve zero decimal string invalid"); to_decimal_string 69 test/correctness/float16_t_constants.cpp h_assert(zeroN.to_decimal_string(0) == "-0.0E+0", "-ve zero decimal string invalid"); to_decimal_string 94 test/correctness/float16_t_constants.cpp h_assert(infinityP.to_decimal_string() == "+Inf", "+ve infinity decimal string invalid"); to_decimal_string 123 test/correctness/float16_t_constants.cpp h_assert(infinityN.to_decimal_string() == "-Inf", "-ve infinity decimal string invalid"); to_decimal_string 155 test/correctness/float16_t_constants.cpp h_assert(nanValue.to_decimal_string() == "NaN", "NaN decimal string invalid"); to_decimal_string 175 test/correctness/float16_t_constants.cpp h_assert(largestNorm.to_decimal_string() == "6.5504E+4", "65504 as float_16t has wrong decimal repr"); to_decimal_string 195 test/correctness/float16_t_constants.cpp h_assert(largestNorm.to_decimal_string() == "-6.5504E+4", "65504 as float_16t has wrong decimal repr"); to_decimal_string 213 test/correctness/float16_t_constants.cpp h_assert(smallestSubNorm.to_decimal_string() == "5.9605E-8", "smallest number has wrong decimal string"); to_decimal_string 231 test/correctness/float16_t_constants.cpp h_assert(smallestSubNorm.to_decimal_string() == "-5.9605E-8", "smallest number has wrong decimal string"); to_decimal_string 252 test/correctness/float16_t_constants.cpp h_assert(noughtPointOneRZ.to_decimal_string(0) == "9.9976E-2", "0.1 converted to half then decimal failed"); to_decimal_string 255 test/correctness/float16_t_constants.cpp const float16_t reconstruct(noughtPointOneRZ.to_decimal_string(0).c_str(), RoundingMode::TowardZero); to_decimal_string 293 test/correctness/float16_t_constants.cpp h_assert(fourZeroNineOneRD.to_decimal_string(0) == "4.09E+3", "4091 converted to half then decimal failed"); to_decimal_string 297 test/correctness/float16_t_constants.cpp const float16_t reconstruct(fourZeroNineOneRD.to_decimal_string(0).c_str(), RoundingMode::TowardNegativeInfinity); to_decimal_string 304 test/correctness/float16_t_constants.cpp h_assert(fourZeroNineOneRU.to_decimal_string(0) == "4.092E+3", "4091 converted to half then decimal failed"); to_decimal_string 329 test/correctness/float16_t_constants.cpp h_assert(fourZeroNineOneRD.to_decimal_string(0) == "-4.092E+3", "-4091 converted to half then decimal failed"); to_decimal_string 333 test/correctness/float16_t_constants.cpp const float16_t reconstruct(fourZeroNineOneRD.to_decimal_string(0).c_str(), RoundingMode::TowardNegativeInfinity); to_decimal_string 340 test/correctness/float16_t_constants.cpp h_assert(fourZeroNineOneRU.to_decimal_string(0) == "-4.09E+3", "-4091 converted to half then decimal failed"); to_decimal_string 367 test/correctness/float16_t_constants.cpp h_assert(noughtPointThreeRD.to_decimal_string(0) == "2.998E-1", "0.3 incorrectly rounded downward"); to_decimal_string 372 test/correctness/float16_t_constants.cpp const float16_t reconstruct(noughtPointThreeRD.to_decimal_string(0).c_str(), RoundingMode::ToNearestTiesToEven); to_decimal_string 378 test/correctness/float16_t_constants.cpp h_assert(noughtPointThreeRU.to_decimal_string(0) == "3.0005E-1", "0.3 incorrectly rounded upward");