This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
functions:safediv [2017/03/13 17:34] – korshun | functions:safediv [2017/03/13 17:36] – korshun | ||
---|---|---|---|
Line 6: | Line 6: | ||
Performs safe division: if denumerator is 0, the result is 0 and no error happens. | Performs safe division: if denumerator is 0, the result is 0 and no error happens. | ||
- | Integer version, for fixed-point numbers see [[function: | + | Integer version, for fixed-point numbers see [[functions: |
===== Examples ===== | ===== Examples ===== |