📄 changes
字号:
CHANGES -- trioThe changes listed without a name attributed to them were most likely done byBjorn Reese and/or Daniel Stenberg.Bogofilter-local change - 2005-12-30------------------------------------* Matthias Andree Fix triodef.h to work on systems were empty macros don't default to 0 in numeric evaluations, such as Sun Workshop 6.Version 1.11 - 2005/12/26-------------------------* Fixed accuracy for denormalized numbers (bug item #758327).* Glen Davidson Fixed scanning of floating-point numbers without a decimal-point (bug item #1370427).* David Byron Fixed more compiler warnings.* Fixed compilation of trio_to_long_double and TRIO_FEATURE_FLOAT (reported by David Byron).* Fixed precision of large floating-point numbers (bug item #1314524).* Karl Bochert Fixed trio_fpclassify_and_signbit to only restore the floating-point precision.* Fixed detection of need for ieee option on FreeBSD/Alpha.* Added TRIO_SNPRINTF_ONLY compilation.* Fixed trio_to_double by not using strtod() on Tru64/DECC because it does not support hex-floats.* Fixed crash on 64 bits machines related to a previous workaround in version 1.9 for uninitialized va_list (reported by Nicolai Tufar, suggestion by Douglas Gwyn).* Patrick Jessee Fixed width calculation for %g.* Added macros for internal features.* Jon Foster Added macros for conditional compilation of many features. Documented all the features.* Karl Bochert Fixed problem with Borland C++, which changes the floating-point precision for certain math functions (log10() and _fpclass()).* Karl Bochert Fixed compilation warnings on Borland C++.* Removed any occurrence of #elif because Borland C++ reports wrong line numbers when they are present (reported by Karl Bochert).* David Byron Added trio_asprintfv.* Brian Chapman Fixed Mac OS X compilation.* David Byron Fixed several compiler warnings.* Fixed printing of out-of-range arguments for %hhd and %hd. These arguments can be out of range because of default integer promotion.* Bob Friesenhahn Fixed installation of header files.* Joe Orton Added SHELL to Makefile.in to avoid problems with CShells.* Shaun Tancheff Fixed regresion tests for MSVC.* Craig Berry Fixed the VMS C99 workaround.Version 1.10 - 2003/03/06-------------------------* Rearranged some include files to accommodate large file support (reported by Albert Chin-A-Young).* Added support for SunOS 4.1.x lack of strerror, tolower, and toupper (reported by Peter McCluskey).* Fixed pedantic compilation with TRIO_MINIMAL.* Jose Kahan Moved <limits.h> to avoid redefinition problems.* Fixed hex-float exponents (reported by Matthias Clasen).* Fixed handling of negative width and precision via paramters (reported by Jacob Navia).* Nigel Hall Fixed TRIO_VA_START for VMS.* Rune Enggaard Lausen Fixed compilation for Borland C++ Builder.* Fixed precision of hex-float numbers (reported by James Antill).* Fixed plus sign only to be added for signed numbers.* Fixed printing of integers with value and precision of zero (reported by James Antill).* Fixed %#.o to only print one zero if the value is zero (reported by James Antill).* Rewrote check for IEEE compilation option to remove dependency on additional scripts.* Mehdi Lavasani Makefile install target fixed to work with older install programs.* Collapsed the DECC, MSVC, HP-UX, and AIX code for trio_fpclassify_and_sign() with further preprocessing.Version 1.9 - 2002/10/13------------------------* Fixed trio_fpclassify_and_signbit on AIX 3.2* Added configure check for -ieee/-mieee compilation option for Alpha machines.* Craig Berry Fixed compilation on VMS.* Albert Chin-A-Young Fixed incorrect conditional expression in trio_isinf.* Fixed the warnings about uninitialized va_list in the printfv and scanfv family without the use of compiler specific pragmas (suggested by Ian Pilcher).* Fixed space flag for floating-point numbers (reported by Ian Main).Version 1.8 - 2002/07/10------------------------* Fixed infinite loop in multibyte handling (reported by Gisli Ottarsson).* Added the customizable cprintf/cscanf family which enables to user to specify input and output stream functions (suggested by Florian Schulze).* Fixed trio_isinf by removing the HP-UX workaround, and instead making sure that the C99 macro will adhere to the trio return values (reported by Luke Dunstan).* Alexander Lukyanov Fixed boundary case for scanning and EOF.* Jacob Navia Enabled the L modifier for formatting.* Added TRIO_MINIMAL to build trio without the string functions.* Added the R modifier to print rounded floating-point numbers.* Added trio_to_long_double and long double scanning (the L modifier).* Added trio_locale_decimal_point, trio_locale_thousand_separator, trio_locale_grouping to overwrite locale settings.* Rewrote TrioWriteDouble to avoid temporary buffers and thus the danger of buffer overflows (for instance %.5000f).* Improved floating-point formatting accuracy.* Fixed formatting of non-decimal exponents.* Fixed thousand separator checking.* Fixed %f scanning to get a float and %lf to get a double.* Fixed WIN32 compilation (reported by Emmanuel Mogenet)* Fixed regression test cases to exclude disabled features.Version 1.7 - 2002/05/07------------------------* Fixed trio_to_double to handle hex-floats properly.* Fixed printing of %a-format to be like %e, not like %g.* Fixed floating-point printing of values beyond the machine accuracy.* Fixed %f for printing with large precision.* Fixed the usage of C99 nan(), which caused a crash on OSF/1 (reported by Georg Bolz)* Joe Orton Fixed %p on 64-bit platforms.* Made trio compile with K&R compilers.* Emmanuel Mogenet Fixed bug in trio_asprintf.* Emmanuel Mogenet Various WIN32 fixes.* Joe Orton Fixed trio_isinf() on HP-UX, and added test cases.* Joe Orton Fixed non-portable use of $^ in Makefile.* Joe Orton Added autoconf.* Alexander Lukyanov Fixed a number of bugs in the scanning of EOF and the count specifier.* Richard Jinks Added trio_nzero* Fixed incorrect handling of return code from TrioReadChar (reported by Henrik L鰂)* Fixed parsing of character class expressions.* Fixed trio_to_double which did not work with long fractions.* Fixed %f for printing of large numbers.* Fixed %#s to handle whitespaces as non-printable characters.* Added trio_isfinite, trio_signbit, and trio_fpclassify.* Added new test cases.Version 1.6 - 2002/01/13------------------------* Added dynamic string functions.* Rewrote and extended documentation in JavaDoc (using Doxygen).* Moved and renamed strio functions to triostr.* Robert Collins Added definition for Cygwin.* Markus Henke Added long double workaround for the HP C/iX compiler.* Marc Verwerft Improved error handling for dynamically allocated strings.* John Fotheringham Made trionan compile on OpenVMS.* Added 'd' and 'D' as exponent letters when using TRIO_MICROSOFT.* Fixed uninitial memory read for the parameter modifiers.Version 1.5 - 2001/09/08------------------------* Merged with libxml changes.* Moved NaN and Inf handling to separate file to enable reuse in other projects.* Igor Zlatkovic Fixed TrioGenerateNan for MSVC.* Fixed lots of preprocessor macros and internal data structure names.Version 1.4 - 2001/06/03------------------------* Added hex-float (%a and %A) for scanning.* Added wide character arguments (%ls, %ws, %S, %lc, %wc, and %C) for both printf and scanf.* Added mutex callbacks for user-specified specifiers to enable applications to add thread-safety. These are registered with trio_register, where the namespace is set to either ":enter" to lock a mutex, or ":leave" to unlock a mutex.* Added equivalence class expressions for scanning. For example, %[[=a=]] scans for all letters in the same equivalence class as the letter 'a' as defined by the locale.* Changed character class expressions for scanning. The expressions must now be embedded withing an extra set of brackets, e.g. %[[:alpha:]]. This was done to adhere to the syntax of UNIX98 regular expressions.* Added the possibility to specify standard support (TRIO_C99 etc.) as compiler options.* Fixed conversion of hex-float in StrToDouble.* Fixed formatting of hex-float numbers.* Stan Boehm Fixed crash on QNX, which happend because some buffers on the stack were too big.* Fixed default precision for %f and %g (reported by Jose Ortiz)* Howard Kapustein Added the I8, I16, I32, and I64 modifiers.* Jose Ortiz Fixed rounding problem for %e.* Jose Ortiz Fixed various problems with the xlC and Sun C++ compilers.Version 1.3 - 2001/05/16------------------------* trio's treatment of the field width when the %e code was used was not correct (reported by Gisli Ottarsson). It turns out the fraction part should be zero-padded by default and the exponent part should be zero-prefixed if it is only one digit. At least that's how the GNU and Sun libc's work. The trio floating point output looks identical to them now.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -