In both

  * working on projects that involve financial transactions, and
  * maintaining the nim MongoDB libraries `mongopool` and `bson` which has a 
decimal type in addition to float,



I've been tempted multiple times to build out a library for Nim that supports 
decimal numbers (base 10 math and storage).

Specifically, I've looked at implementing _Decimal128_ based on _IEEE_ _754_.

more details:

  * 
[https://en.wikipedia.org/wiki/Decimal128_floating-point_format](https://en.wikipedia.org/wiki/Decimal128_floating-point_format)
  * 
[https://metacpan.org/pod/BSON::Decimal128](https://metacpan.org/pod/BSON::Decimal128)



I do both enjoy math and machine-level work; so it is, as I say, tempting to 
start this. I'd want to write a pure-Nim library.

I could either:

  1. write a standalone Decimal128 library
  2. incorporate Decimal128 into the `bson` library
  3. write it for possible inclusion into Nim as a standard library



But here is the problem: this is a non-trivial project and I'm fairly swamped 
with work at the moment (I'm a remote contract programmer).

So, I'm writing the forum to ask:

  * Is this something that would be very useful to others here?
  * Are there other programmers who would be interested in helping out?


Reply via email to