| 1 |
== Revision history of libcerf, maintained by Joachim Wuttke == |
| 2 |
|
| 3 |
libcerf-3.1, released 3aug25: |
| 4 |
- Fix function value erfcx(12), bug reported by Thomas Höring |
| 5 |
- Improved test coverage of erfcx and imwofx |
| 6 |
|
| 7 |
libcerf-3.0, released 24apr25: |
| 8 |
- Important changes to the application binary interfaces (ABIs): |
| 9 |
- CMake builds both libcerf (C ABI) and libcerfcpp (C++ ABI), unless option |
| 10 |
CERF_C=OFF or CERF_CPP=OFF. |
| 11 |
- Linking the C ABI libcerf with C++ is no longer supported |
| 12 |
- Minor cleanups overlooked in release 2.5 |
| 13 |
- Remove introspection variables, no longer needed as we now dispose of rigorous |
| 14 |
error estimates |
| 15 |
|
| 16 |
libcerf-2.5, released 16apr25: |
| 17 |
- Piecewise polynomial approximation for functions im_w_of_c and erfcx rederived |
| 18 |
for guaranteed accuracy. Methods explained in Joachim Wuttke and Alexander Kleinsorge: |
| 19 |
"Code generation for piecewise Chebyshev approximation." Preprint available upon request. |
| 20 |
- Required C standard is now C11 (we need the _Alignas specifier) |
| 21 |
- Minor optimization of width.c (contributed by Alexander Kleinsorge) |
| 22 |
- For arbitrary numeric constants, choose powers of 2 (suggested by Alexander Kleinsorge) |
| 23 |
|
| 24 |
libcerf-2.4, released 2aug23: |
| 25 |
- CMake: runtime destination corrected (bin, not lib) |
| 26 |
- CMake: removed option PORTABLE and compiler flag -march (unavailable on some architectures) |
| 27 |
|
| 28 |
libcerf-2.3, released 10jan23: |
| 29 |
- Fix compiler flags; use -O3 for Release |
| 30 |
- Introduce CERF_COMPILE_OPTIONS to let users overwrite the hard-coded compile options |
| 31 |
- Under gcc, use -march=native |
| 32 |
- PACKAGE MAINTAINERS: use -DPORTABLE=ON to override this !! |
| 33 |
- Add test coverage for erfcx, dawson, im_w_of_x (against nearby complex and status quo) |
| 34 |
- Avoid some divisions in function voigt (suggested by Alexander Kleinsorge) |
| 35 |
- Accelerate lookup in erfcx, im_w_of_x (avoid long switch, contributed by Alexander Kleinsorge) |
| 36 |
- Work around clang bug https://github.com/llvm/llvm-project/issues/59681 (0+I*Inf->NaN) |
| 37 |
|
| 38 |
libcerf-2.2, released 7nov22: |
| 39 |
- No longer raise underflow error in w_of_z for large real arg (contributed by Ethan Merritt) |
| 40 |
- In test suite, confound zero with values close to underflow |
| 41 |
- Remove some invisible files that had slipped in accidentally (noticed by Christoph Junghans) |
| 42 |
- Windows binary now built with Visual Studio 17 2022 |
| 43 |
|
| 44 |
libcerf-2.1, released 8apr22: |
| 45 |
- Provide cerfConfig.cmake (contributed by Lori A. Burns and Christoph Junghans) |
| 46 |
- libcerf.pc: Remove hard-coded lib/ |
| 47 |
- Version number incremented to overcome upstream problems with withdrawn release 2.0 |
| 48 |
|
| 49 |
libcerf-1.17, released 29jun21: |
| 50 |
- Correct pkgconfig installation directory (use GNU install dirs, install to LIBDIR/pkgconfig) |
| 51 |
|
| 52 |
libcerf-1.16, released 23jun21: |
| 53 |
- voigt_hwhm: replaced Newton's method (which failed for rare parameter combinations) |
| 54 |
by Illinois regula falsi (contributed by Ethan A Merritt) |
| 55 |
- Some internal cleanup, especially of include directives |
| 56 |
|
| 57 |
libcerf-1.15, released 10jun21: |
| 58 |
- Use assertion in voigt_hwhm to check for impossible situations |
| 59 |
(to avoid fprintf and exit, as suggested by Ethan A Merritt) |
| 60 |
- Added widthtest, which tests voigt_hwhm for numerous ratios gamma/sigma |
| 61 |
- libcerf.pc.in: correct prefix (as suggested by Alexander Grund) |
| 62 |
- CMake install |
| 63 |
- make full use of CMAKE_INSTALL_<dir> variables |
| 64 |
- DESTINATION now given by LIBDIR from GNUInstallDirs |
| 65 |
- Support CPack for all platforms |
| 66 |
|
| 67 |
libcerf-1.14, released 19oct20: |
| 68 |
- Simplified test code |
| 69 |
- Homepage moved to https://jugit.fz-juelich.de/mlz/libcerf, 17mar19 |
| 70 |
|
| 71 |
libcerf-1.13, released 28feb19: |
| 72 |
- Further adjustments for compilation under Windows |
| 73 |
|
| 74 |
libcerf-1.12, released 7feb19: |
| 75 |
- Require CMake 3.6, outcomment code that requires 3.13. |
| 76 |
- Relative paths in CMake sources, for use as subproject. |
| 77 |
- When compiling as CPP, then #include<complex>, not <complex.h>; |
| 78 |
revise the entire C-vs-CPP machinery. |
| 79 |
- Remove tests with different inf or nan results on different systems or under |
| 80 |
different compilers. |
| 81 |
|
| 82 |
libcerf-1.11, released 28dec18: |
| 83 |
- Cover voigt by test_voigt. |
| 84 |
- Implement new function voigt_hwhm. |
| 85 |
- Restore libcerf.pc. |
| 86 |
- Add INSTALL instructions, and other minor adjustments for use of libcerf in C++ projects. |
| 87 |
- Support 'ctest', which runs the numeric accuracy tests from test1.c. |
| 88 |
- Rename type cmplx into _cerf_cmplx to avoid name clash with Gnuplot pre 5.3. |
| 89 |
|
| 90 |
libcerf-1.8 [2oct18], libcerf-1.9 [16oct18] and libcerf-1.10 [20dec18] |
| 91 |
MUST NOT BE USED |
| 92 |
- A bug introduced in v1.8 had broken the normalization of the Voigt function. |
| 93 |
- The git history leading to v1.10 has been rewritten, starting anew from v1.7 |
| 94 |
|
| 95 |
libcerf-1.7, released 26sep18: |
| 96 |
- Option -DCERF_CPP allows to choose C++ compilation, which is useful |
| 97 |
because MS VisualStudio supports C++14, but not yet C99, and in |
| 98 |
particular does not support complex.h under C. |
| 99 |
|
| 100 |
libcerf-1.6, released 20sep18: |
| 101 |
- Migrated from automake to CMake. |
| 102 |
- Corrected typos in man pages. |
| 103 |
|
| 104 |
libcerf-1.5, released 12oct16: |
| 105 |
- Removed unused inline function (detected by clang-1.3., reported by Luke Benes) |
| 106 |
|
| 107 |
libcerf-1.4, released 27aug14: |
| 108 |
- HTML version of man pages no longer installs to man/html. |
| 109 |
- More concise man pages. |
| 110 |
- Delete a few unused include's. |
| 111 |
- Autotools script corrected (suggestions by Christoph Junghans). |
| 112 |
|
| 113 |
libcerf-1.3, released 17jul13: |
| 114 |
- Now supporting pkg-config (suggested by Mojca Miklavec). |
| 115 |
|
| 116 |
libcerf-1.2, released 16jul13: |
| 117 |
- Test programs no longer install to $bindir (reported by Mojca Miklavec). |
| 118 |
|
| 119 |
libcerf-1.1, released 12may13: |
| 120 |
- Added Fortran binding by Antonio Cervellino. |
| 121 |
|
| 122 |
libcerf-1.0, released 31jan13 by Joachim Wuttke: |
| 123 |
- Based on http://ab-initio.mit.edu/Faddeeva as of 28jan13. |
| 124 |
- Verified accuracy using double-exponential transform. |
| 125 |
- Simplified function names; |
| 126 |
use leading 'c' for complex functions (except in w_of_z). |
| 127 |
- Added function voigt(x,sigma,gamma). |
| 128 |
- Added configure.ac, Makefile.am &c to allow for autotools standard |
| 129 |
installation (commands ./configure, make, sudo make install). |
| 130 |
- Splitted source code into directories lib/ and test/. |
| 131 |
- Eliminated unused alternate code (!USE_CONTINUED_FRACTION). |
| 132 |
- Eliminated relerr arguments. |
| 133 |
- Replaced "complex" by "_Complex" for C++ compatibility. |
| 134 |
- Wrote man pages w_of_z(3), dawson(3), voigt(3), cerf(3), erfcx(3), erfi(3). |
| 135 |
- Created project home page http://apps.jcns.fz-juelich.de/libcerf. |
| 136 |
- Registered project "libcerf" at sourceforge.net. |
| 137 |
|
| 138 |
== Revision history of Faddeeva.cc by Steven G. Johnson == |
| 139 |
|
| 140 |
Project at http://ab-initio.mit.edu/Faddeeva |
| 141 |
|
| 142 |
4 October 2012: Initial public release (SGJ) |
| 143 |
5 October 2012: Revised (SGJ) to fix spelling error, |
| 144 |
start summation for large x at round(x/a) (> 1) |
| 145 |
rather than ceil(x/a) as in the original |
| 146 |
paper, which should slightly improve performance |
| 147 |
(and, apparently, slightly improves accuracy) |
| 148 |
19 October 2012: Revised (SGJ) to fix bugs for large x, large -y, |
| 149 |
and 15<x<26. Performance improvements. Prototype |
| 150 |
now supplies default value for relerr. |
| 151 |
24 October 2012: Switch to continued-fraction expansion for |
| 152 |
sufficiently large z, for performance reasons. |
| 153 |
Also, avoid spurious overflow for |z| > 1e154. |
| 154 |
Set relerr argument to min(relerr,0.1). |
| 155 |
27 October 2012: Enhance accuracy in Re[w(z)] taken by itself, |
| 156 |
by switching to Alg. 916 in a region near |
| 157 |
the real-z axis where continued fractions |
| 158 |
have poor relative accuracy in Re[w(z)]. Thanks |
| 159 |
to M. Zaghloul for the tip. |
| 160 |
29 October 2012: Replace SLATEC-derived erfcx routine with |
| 161 |
completely rewritten code by me, using a very |
| 162 |
different algorithm which is much faster. |
| 163 |
30 October 2012: Implemented special-case code for real z |
| 164 |
(where real part is exp(-x^2) and imag part is |
| 165 |
Dawson integral), using algorithm similar to erfx. |
| 166 |
Export ImFaddeeva_w function to make Dawson's |
| 167 |
integral directly accessible. |
| 168 |
3 November 2012: Provide implementations of erf, erfc, erfcx, |
| 169 |
and Dawson functions in Faddeeva:: namespace, |
| 170 |
in addition to Faddeeva::w. Provide header |
| 171 |
file Faddeeva.hh. |
| 172 |
4 November 2012: Slightly faster erf for real arguments. |
| 173 |
Updated MATLAB and Octave plugins. |
| 174 |
27 November 2012: Support compilation with either C++ or |
| 175 |
plain C (using C99 complex numbers). |
| 176 |
For real x, use standard-library erf(x) |
| 177 |
and erfc(x) if available (for C99 or C++11). |
| 178 |
#include "config.h" if HAVE_CONFIG_H is #defined. |
| 179 |
15 December 2012: Portability fixes (copysign, Inf/NaN creation), |
| 180 |
use CMPLX/__builtin_complex if available in C, |
| 181 |
slight accuracy improvements to erf and dawson |
| 182 |
functions near the origin. Use gnulib functions |
| 183 |
if GNULIB_NAMESPACE is defined. |
| 184 |
18 December 2012: Slight tweaks (remove recomputation of x*x in Dawson) |