|
From: | Juergen Sauermann |
Subject: | [Bug-apl] SVN 984 changes |
Date: | Sun, 6 Aug 2017 13:44:58 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
Hi, I would like to inform you about 2 changes that I made in SVN 984. 1. Use of C++ casts instead of C casts I have replaced every old-style C cast by either a C++ cast (static_cast<>(), reinterpret_cast<>(), or const_cast<>()). The reason for this change is to keep up with the changes in the C++ language. Also, the Makefiles were changed to not allow C casts any longer. 2. APL_Float as class. I have change the code so that one can use a class APL_Float instead of the previous typedef double APL_FLoat. An example class is provided in file APL_Float_as_class.hh and the decision if a typedef or a class shall be used is made in APL_types.hh via #define APL_Float_is_class 0 or 1. This change simplifies, for example, the introduction of libraries for higher precision arithmetic. I hope all this still compiles on your machines. Make clean and a new ./configure is required after SVN up. Best Regards, Jürgen Sauermann |
[Prev in Thread] | Current Thread | [Next in Thread] |