DFP
DFP copied to clipboard
Java/.NET implementation of Intel IEEE-754 compliant decimal-float library
Some functions like round(value, precision, roundingType), roundToReciprocal, isRounded, isRoundedToReciprocal, etc. are implemented only in Java and .NET and missed in C/C++
In Java (double)3.15f == 3.1500000953674316, so the only way to convert value correctly - use string conversion. But the string conversion could be slow and also allocate memory.
Used official docker image mcr.microsoft.com/dotnet/aspnet:6.0.3-alpine3.15 with glibc 2.30-r0 Any attempt to use Decimal64 fails with: ```bash # dotnet TestDfp.dll Unhandled exception. System.DllNotFoundException: Unable to load shared library 'ddfp0x11x25' or one...
Currently an attempt to build the DFP project with Java 21 result in error: ``` > Task :java:dfp:compileJava FAILED error: Source option 7 is no longer supported. Use 8 or...
`Decimal64` java class can become a "value class" in [Valhalla](https://openjdk.org/projects/valhalla/). We should try to test `Decimal64` as `value` class: - how well it works, - ensure that there are no...
It's strange that there is no instance method `Decimal64.toUnderlying()`. This PR fixes that.
Currently, the arithmetic operations (e.g. `multiply()`, `divide()`, etc.) and other functions in `Decimal64Utils` (from `dfp`) and `Decimal64MathUtils` (from `dfp-math`) apparently support only one rounding rule: "Round to nearest, ties to...
Provide documentation on ValueTypeAgent: - Purpose - Usage - Limitations