Skip to content
This repository was archived by the owner on May 2, 2024. It is now read-only.

add hyperdrive_math utils#16

Merged
dpaiton merged 8 commits intomainfrom
dpaiton/add_utils
Oct 24, 2023
Merged

add hyperdrive_math utils#16
dpaiton merged 8 commits intomainfrom
dpaiton/add_utils

Conversation

@dpaiton
Copy link
Copy Markdown
Contributor

@dpaiton dpaiton commented Oct 19, 2023

No description provided.

@dpaiton dpaiton force-pushed the dpaiton/add_utils branch 2 times, most recently from 14f9d9d to 7d8dba2 Compare October 24, 2023 05:53
@dpaiton dpaiton marked this pull request as ready for review October 24, 2023 07:18
Copy link
Copy Markdown
Contributor

@sentilesdal sentilesdal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me. wary of saying 'fixedpoint' because someone might be tempted to pass '1.23' instead of '123000000000000000'

Comment thread crates/pyperdrive/python/pyperdrive/pyperdrive.pyi Outdated
Comment thread crates/pyperdrive/python/pyperdrive/pyperdrive.pyi Outdated
Comment thread crates/pyperdrive/python/pyperdrive/pyperdrive.pyi Outdated
Comment thread crates/pyperdrive/python/pyperdrive/pyperdrive.pyi Outdated
@dpaiton
Copy link
Copy Markdown
Contributor Author

dpaiton commented Oct 24, 2023

looks good to me. wary of saying 'fixedpoint' because someone might be tempted to pass '1.23' instead of '123000000000000000'

I decided to leave it because it references the underlying Rust type. However, I think this is a good point and we should include an explanation in the readme when we go live. (or ignore if we end up using FixedPoint everywhere anyway)

@dpaiton dpaiton merged commit daf736a into main Oct 24, 2023
@dpaiton dpaiton deleted the dpaiton/add_utils branch October 24, 2023 19:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants