Skip to content

Commit

Permalink
Document usage of 512-bit precision in the number known value check (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bendbennett committed Jan 11, 2024
1 parent d14429e commit f1b9656
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions knownvalue/number.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func (v numberValueExact) String() string {

// NumberValueExact returns a Check for asserting equality between the
// supplied *big.Float and the value passed to the CheckValue method.
// The CheckValue method uses 512-bit precision to perform this assertion.
func NumberValueExact(value *big.Float) numberValueExact {
return numberValueExact{
value: value,
Expand Down

0 comments on commit f1b9656

Please sign in to comment.