sema-docs 1.19.2

Canonical structured documentation for Sema builtins/special forms; powers LSP hover/completion and REPL apropos
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
---
name: "/"
module: "math"
section: "Basic Arithmetic"
---

Divide numbers. Returns a float when the division is not exact (so `(/ 10 3)` is `3.3333...`, not `3`). For truncated integer division use [`math/quotient`](#math-quotient).

```sema
(/ 10 2)      ;; => 5
(/ 10 3)      ;; => 3.3333333333333335
(/ 10.0 3)    ;; => 3.3333333333333335
```