Skip to content

Commit

Permalink
Adjust docs once again xD
Browse files Browse the repository at this point in the history
  • Loading branch information
mwoss committed Apr 1, 2024
1 parent 71fd53e commit ca97b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decimal.go
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ func (d Decimal) Ln(precision int32) (Decimal, error) {
comp1 = comp1.Sub(comp3)

if prevStep.Add(comp3).IsZero() {
// If iteration steps oscillate we should return early and prevent infinity loop
// If iteration steps oscillate we should return early and prevent an infinity loop
// NOTE(mwoss): This should be quite a rare case, returning error is not necessary
break
}
Expand Down

0 comments on commit ca97b40

Please sign in to comment.