crypto-bigint icon indicating copy to clipboard operation
crypto-bigint copied to clipboard

[Uint] `gt` and `lt` doc comment error.

Open erik-3milabs opened this issue 1 year ago • 0 comments

I believe there is a minor mistake in the documentation of Uint's lt and gt functions.

Respectively, the two read:

  • "/// Returns the truthy value if self <= rhs and the falsy value otherwise." and
  • "/// Returns the truthy value if self >= rhs and the falsy value otherwise."

Given that these are lt and gt (and not leq and geq), these should be strict inequalities: the = should be removed in both cases.

erik-3milabs avatar Sep 23 '24 15:09 erik-3milabs