This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
functions:safefixeddiv [2017/03/15 10:20] – korshun | functions:safefixeddiv [2017/03/17 17:41] (current) – [Description] 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. | ||
- | Fixed-point version, for integers see [[functions:SafeDiv|SafeDiv()]]. | + | Fixed-point version, for integers see [[SafeDiv]]. |
===== Examples ===== | ===== Examples ===== |