Releases: epam/DFP
1.0.3 Add toFloatString() function and restore toString() style
Separate integer decimal value to string conversion with next two styles:
- Integer style is set as a default output style.
I.e. Decimal64.fromLong(12345).toString() produce "12345" - Add toFloatString() function for the ".0" suffix for integer decimal values.
I.e. Decimal64.fromLong(12345).toFloatString() produce "12345.0"
Support C/C++ Conan package
Java, .NET: No changes
1.0.2 Add toString() and parse() overloads with custom decimal mark
Java, .NET: Add overloads of the toString(), toScientificString(), appendTo(), scientificAppendTo(), and parse(), tryParse() functions with the custom decimal mark.
1.0.1 Java optimizations powered by Andriy Plokhotnyuk @plokhotnyuk
Make a DFP a multi-release JAR with JDK 7, 9, and 18 specific internal optimizations.
Replace direct __mul_64x64_to_128 macro substitutions with Math.unsignedMultiplyHigh(JDK18) and Math.multiplyHigh(JDK9).
Speedup fromDecimalDouble and canonizeFinite by replacing div10 with reciprocal multiplication.
Optimize some UnsignedLong.isGreaterOrEqual and UnsignedLong.isGreater calls.
0.12.10 Temporary: VTA problem workaround - unsuccessful: update VTA.
Java: Try workaround VTA issue by exporting tryParseChecked() function - unsuccessful: update VTA.
0.12.9 Export toScientificString() from the Decimal64 in Java. Review documentation. Refactor project.
Refactor: Reorganize repository with native-dependent and native-independent parts.
Doc: Big documentation review.
Fix: Java: Add missed toScientificString() to the Decimal64.
CI: Fix compilation issues.
0.12.8 Fix fromDecimalDouble() data corruption
Fix: .NET: Fix Decimal64.FromDecimal() precision loss. Add unit test.
Fix: Fix fromDecimalDouble() data corruption.
Doc: Add rounding methods documentation.
0.12.7 Add isRounded() and isRoundedToReciprocal()
Add isRounded() and isRoundedToReciprocal(), tests and benchmarks.
0.12.6 Add roundToReciprocal() - fast and more precise alternative for round() with multiplier
Main improvement: Add roundToReciprocal() as a fast and more precise alternative for round() with multiplier.
Fix: pack(... , BID_ROUNDING_EXCEPTION) case
Fix: get_BID64() mantissa overflow processing.
Add: tryParse() with output status flag.
Refactor: Java: Mark *Checked functions as deprecated, as these functions required only for internal usage (by value-type agent).
Add: Some tests, benchmarks and precision loss examples.
0.12.5 Fix Java SpringBoot problem.
Add NATIVE_UTILS_LOG_LEVEL=0 environment variable processing for loader log to stdout.