mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Fix small typo on Num.div
This commit is contained in:
parent
8ecbd8c071
commit
364208f37c
1 changed files with 1 additions and 1 deletions
|
@ -838,7 +838,7 @@ logChecked = \x ->
|
|||
## `a / b` is shorthand for `Num.div a b`.
|
||||
##
|
||||
## [Division by zero is undefined in mathematics](https://en.wikipedia.org/wiki/Division_by_zero).
|
||||
## As such, you should make sure never to pass zero as the denomaintor to this function!
|
||||
## As such, you should make sure never to pass zero as the denominator to this function!
|
||||
## Calling [div] on a [Dec] denominator of zero will cause a panic.
|
||||
##
|
||||
## Calling [div] on [F32] and [F64] values follows these rules:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue