ChainSafe / fixed-sized-numbers-ts

Fixed Sized BigNumbers in TypeScript
2 stars 4 forks source link

Add integer division #14

Open ansermino opened 5 years ago

ansermino commented 5 years ago

Currently we are protecting users from producing a quotient that is not an integer. There may be cases where integer division is required (formally floor(a/b)). As such we should be sure to include an operation that explicity allows this.

Mikerah commented 5 years ago

(Meta) To be honest, this is important enough to not be considered an enhancement. Perhaps, a new tag that is targeted for important features should be added.

GregTheGreek commented 5 years ago

(Meta) To be honest, this is important enough to not be considered an enhancement. Perhaps, a new tag that is targeted for important features should be added.

Working on something like this right now for company wide uses.

GregTheGreek commented 5 years ago

Check the labels on the meta repo https://github.com/ChainSafeSystems/Sharding

@Mikerah @ansermino

Mikerah commented 5 years ago

I created an issue in the Sharding repo so that such conversations stay relevant. (close Meta)