This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| functions:intdiv [2017/03/13 16:23] – korshun | functions:intdiv [2017/04/15 14:20] (current) – korshun | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== IntDiv ====== | ====== IntDiv ====== | ||
| + | {{tag> math numerical_algorithms}} | ||
| '' | '' | ||
| Line 5: | Line 6: | ||
| Divides two integers and returns a fixed-point result. Allows division of any two integers whose ratio is not higher than 32767. | Divides two integers and returns a fixed-point result. Allows division of any two integers whose ratio is not higher than 32767. | ||
| - | Can be used as a shorthand for '' | + | Can be used as a shorthand for '' |
| - | For a safe version see '' | + | For a safe version see [[SafeIntDiv]]. |
| ===== Examples ===== | ===== Examples ===== | ||