agentm / project-m36

Project: M36 Relational Algebra Engine
The Unlicense
901 stars 48 forks source link

arbitrary precision data type #333

Closed boogerlad closed 2 years ago

boogerlad commented 2 years ago

Is something like postgres numeric https://www.postgresql.org/docs/current/datatype-numeric.html#DATATYPE-NUMERIC-DECIMAL planned? I see you're using gmp for integer, so I'm hoping this is "easy"?

agentm commented 2 years ago

Sure- such a feature would probably pretty easy to add. Would you like to try to implement this? Perhaps scientific would be an appropriate backing module.

boogerlad commented 2 years ago

I would love to. Sadly, I don't know haskell, but if you can wait 6 months, I'll implement it. If not, feel free to implement.