[Commits] [wesnoth/wesnoth] 8a80af: More tests for lexical_cast

GitHub noreply at github.com
Thu Dec 8 21:19:12 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8a80af7ace1ac6ffd756c4ac0ee746959ba6cfe5
      https://github.com/wesnoth/wesnoth/commit/8a80af7ace1ac6ffd756c4ac0ee746959ba6cfe5
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-12-08 (Thu, 08 Dec 2016)

  Changed paths:
    M src/tests/test_lexical_cast.cpp

  Log Message:
  -----------
  More tests for lexical_cast


  Commit: bfeea429382b70521eb9e6d5340c54cf820d8c76
      https://github.com/wesnoth/wesnoth/commit/bfeea429382b70521eb9e6d5340c54cf820d8c76
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-12-08 (Thu, 08 Dec 2016)

  Changed paths:
    M src/lexical_cast.hpp
    M src/tests/test_lexical_cast.cpp

  Log Message:
  -----------
  Reimplement lexical_cast

The new implementation doesn't drop fractional part of floating point
numbers, and handles overflow correctly.


Compare: https://github.com/wesnoth/wesnoth/compare/28df71d13aa8...bfeea429382b


More information about the Commits mailing list