Skip to content

Commit

Permalink
decimal: improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
eapenkin authored Nov 21, 2023
2 parents a31d959 + ba15f7f commit 3f33eec
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 @@ -1393,7 +1393,7 @@ func (d Decimal) SubAbs(e Decimal) (Decimal, error) {
// This method is useful for improving the accuracy and performance of algorithms
// that involve the accumulation of products, such as daily interest accrual.
//
// FMA returns an error if the integer part of the result has more than [MaxPrec] digits.
// FMA returns an overflow error if the integer part of the result has more than [MaxPrec] digits.
//
// [fused multiply-addition]: https://en.wikipedia.org/wiki/Multiply%E2%80%93accumulate_operation#Fused_multiply%E2%80%93add
func (d Decimal) FMA(e, f Decimal) (Decimal, error) {
Expand Down

0 comments on commit 3f33eec

Please sign in to comment.