Skip to content
Snippets Groups Projects
  1. Nov 02, 2020
  2. Oct 28, 2020
  3. Oct 21, 2020
  4. Oct 20, 2020
  5. Oct 16, 2020
  6. Oct 14, 2020
  7. Oct 13, 2020
  8. Oct 06, 2020
  9. Oct 01, 2020
  10. Sep 17, 2020
  11. Sep 11, 2020
  12. Sep 09, 2020
  13. Sep 01, 2020
  14. Aug 18, 2020
  15. Aug 17, 2020
    • Gábor Szalai's avatar
      Reduce the float printout precision (bug 566118) · 77bdf234
      Gábor Szalai authored
      
      The 17 digit precision was too precise for the float.
      The 17 significant digit ensured that the parsed back value is
      the same as the original, but the currently used print out function
      introduced rounding errors, which renders the last digit useless.
      
      Further development and experiment is needed, because neither functionality
      provided by the c++ library prints the float as expected by the TTCN standard.
      
      Change-Id: I328e8ed423c7d96f2ee46e5453e090a1c3fda6a8
      Signed-off-by: default avatarGabor Szalai <gabor.szalai@ericsson.com>
      77bdf234
    • Gábor Szalai's avatar
      ttcn2str correction (bug 566118 & 566029) · ee2516df
      Gábor Szalai authored
      
      The number of the significant digits used during the code generation
      is increased to 17
      
      The string representation of the float generated by the ttcn2str is
      corrected: no leading zero in exponent, 17 significant digits
      
      Change-Id: Ib49b878a78c87c1a8fee55b06c9b713023e90797
      Signed-off-by: default avatarGabor Szalai <gabor.szalai@ericsson.com>
      ee2516df
  16. Aug 14, 2020
    • Gábor Szalai's avatar
      Remove leading zero warning from str2float compiler part (bug 566028) · bcab9cf8
      Gábor Szalai authored
      
      The standard explicitly allow the leading zero for str2float
      Leading zero warning is not needed as it is allowed.
      
      C.1.29  Character string to float
      str2float(in charstring invalue) return float This function
      converts a charstring comprising a number into a float value.
      The format of the number in the charstring shall follow rules
      in clause 6.1.0, items a) or b) with the following exceptions:
      
      leading zeros are allowed;
      
      EXAMPLE:
      
      str2float("12345.6") // is the same as str2float("123.456E+02")
      
      Change-Id: I0e29260f893874d4b34372cd064882bb51087260
      Signed-off-by: default avatarGabor Szalai <gabor.szalai@ericsson.com>
      bcab9cf8
  17. Aug 12, 2020
  18. Aug 11, 2020
  19. Aug 10, 2020
  20. Jul 09, 2020
  21. Jul 06, 2020
  22. Jul 03, 2020
  23. Jul 02, 2020
  24. Jun 18, 2020
  25. Jun 17, 2020
  26. Jun 16, 2020
  27. Jun 11, 2020
  28. Jun 10, 2020
  29. May 22, 2020
Loading