Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Fixed Point Signed Safe Library #2265

Closed
aparnakr opened this issue Jun 4, 2020 · 2 comments
Closed

Create Fixed Point Signed Safe Library #2265

aparnakr opened this issue Jun 4, 2020 · 2 comments

Comments

@aparnakr
Copy link

aparnakr commented Jun 4, 2020

🧐 Motivation
Currently, there is no good fixed point math library out there and each project is rolling out their own library.

📝 Details
A signed (and unsigned) fixed point math library that allows for addition, subtraction, multiplication, division. In the future, a more advanced library that allows for exponents, ln, log, square root.

@nventuro
Copy link
Contributor

nventuro commented Jun 5, 2020

Hello @aparnakr!

Fixed point math support was part of our Q2 Roadmap, but development halted once the Solidity team recently decided they'd implement it natively, following pretty much the same design patterns we had explored.

This was about a month ago, but I don't know if there have been any recent updates. Discussion was happening in ethereum/solidity#409.

Once that feature is released, we'll likely want to build some libraries on top of it, perhaps including advanced operations like exponentiation and the like, but that depends on what the Solidity team delivers.

@nventuro nventuro closed this as completed Jun 5, 2020
@psytron
Copy link

psytron commented Apr 13, 2021

Exciting. +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants