Skip to content

Releases: epam/DFP

1.0.3 Add toFloatString() function and restore toString() style

12 Apr 12:15
Compare
Choose a tag to compare

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

13 Nov 17:11
a5d4285
Compare
Choose a tag to compare
Pre-release

Java, .NET: No changes

1.0.2 Add toString() and parse() overloads with custom decimal mark

26 Sep 07:30
Compare
Choose a tag to compare

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

29 Jun 09:48
Compare
Choose a tag to compare

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.

13 Mar 10:29
Compare
Choose a tag to compare

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.

13 Mar 10:26
Compare
Choose a tag to compare

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

13 Mar 10:16
Compare
Choose a tag to compare

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()

13 Mar 10:06
Compare
Choose a tag to compare

Add isRounded() and isRoundedToReciprocal(), tests and benchmarks.

0.12.6 Add roundToReciprocal() - fast and more precise alternative for round() with multiplier

13 Mar 10:03
Compare
Choose a tag to compare

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.

28 Jun 14:25
Compare
Choose a tag to compare

Add NATIVE_UTILS_LOG_LEVEL=0 environment variable processing for loader log to stdout.