You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 31, 2024. It is now read-only.
FixedBN performs bound-checking in its constructor. Most of the operations return a new BN instance (not a FixedBN), and because they have not been overriden they wouldn't necessarily have the specified width. Does it make sense to override such operations to cast them to FixedBN and do a modulo afterwards if necessary? Or should users of the library take care of this?
The text was updated successfully, but these errors were encountered:
FixedBN
performs bound-checking in its constructor. Most of the operations return a newBN
instance (not aFixedBN
), and because they have not been overriden they wouldn't necessarily have the specified width. Does it make sense to override such operations to cast them toFixedBN
and do a modulo afterwards if necessary? Or should users of the library take care of this?The text was updated successfully, but these errors were encountered: