tools4j / decimal4j

Java library for fast fixed-point arithmetic based on longs with support for up to 18 decimal places.
decimal4j.org
MIT License
156 stars 17 forks source link

128 bit decimal support #20

Closed lordpixel23 closed 2 years ago

lordpixel23 commented 2 years ago

Have you ever given any thought to supporting 128 bit decimals, based on a pair of longs, presumably.

terzerm commented 2 years ago

nope --- we want to also support a zero GC API and we currently do this through longs. Once Java introduces value objects this may be a good idea, but for now we have no plans to support 128bits.