Posit floating point support #21
Comments
Posit work ongoing in this repo, on this branch: https://github.com/Lombiq/Arithmetics/tree/issue/HAST-136 |
I don't think it's worth the efforts at this point. |
Since it's also a good thorough test of Hastlayer itself we've mostly completed it (the results including a lot of bugs fixed in Hastlayer, and support for method inlining added). Nevertheless fixed-point will indeed be the most efficient choice every time (with floating point only to be used if you specifically need floating point, not just the ability to use fractions) and apart from handling this with integers you can also do this with the built-in |
Posit is a floating point number type that's better than the usual IEEE floats but can be easily used as a drop-in replacement still. Let's see this instead of Unum.
See the sources below here: https://github.com/libcg/bfp
Let's create a generally usable .NET library which is transformable with Hastlayer.
The text was updated successfully, but these errors were encountered: