Merge pull request #6970 from roc-lang/fmt-num-fix

fmt Num.roc
This commit is contained in:
Anton-4 2024-08-05 13:16:06 +02:00 committed by GitHub
commit 13f60cde09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -709,7 +709,7 @@ absDiff = \a, b ->
## Num.neg 0.0
## ```
## !! Num.neg is not completely implemented for all types in all contexts, see github.com/roc-lang/roc/issues/6959
## You can use `\someNum -> 0 - someNum` as a workaround.
## You can use `\someNum -> 0 - someNum` as a workaround.
##
## This is safe to use with any [Frac], but it can cause overflow when used with certain [Int] values.
##