[Commits] [wesnoth/wesnoth] c2abe3: Kill floating_point_emulation.hpp with fire (#713)

GitHub noreply at github.com
Tue Jul 26 15:45:18 UTC 2016


  Branch: refs/heads/boost_trimming
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c2abe3a6220b00b39b0238057af8734c6cc80fc6
      https://github.com/wesnoth/wesnoth/commit/c2abe3a6220b00b39b0238057af8734c6cc80fc6
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-07-26 (Tue, 26 Jul 2016)

  Changed paths:
    M projectfiles/VC12/wesnoth.vcxproj
    M projectfiles/VC12/wesnoth.vcxproj.filters
    M src/CMakeLists.txt
    M src/SConscript
    R src/floating_point_emulation.hpp
    M src/formula/debugger_fwd.hpp
    M src/sdl/utils.cpp
    R src/tests/floating_point_emulation.cpp

  Log Message:
  -----------
  Kill floating_point_emulation.hpp with fire (#713)

Ability to emulate floating point calculations makes sense only if we
intend to support platforms without native floating point support. Such
platforms haven't been relevant since mid-1990s or so. Besides, supporting
such platforms would require converting the entire codebase to use the
tfloat class instead of native float and double types, which would be
outright Herculean effort.

As a bonus, killing floating_point_emulation.cpp also eliminates two uses
of boost::enable_if_c.

I also removed the nonexistent file SDL_SavePNG/savepng.hpp from the
Visual Studio project, and added #include <string> to
formula/debugger_fwd.hpp because the build failed otherwise
(maybe compilation order changed when I removed
floating_point_emulation.hpp?).





More information about the Commits mailing list