Site Tools


documentation:development:opera:pf25:ppgfldr:pgsfldr:spg:15spg001

Dealing With Overflow


Most Math folio function calls do not detect overflow. When overflow occurs, the result is most often a garbage value. The exceptions to this rule are many division calls. If overflow occurs when using an unsigned division call, the call normally returns a value with all bits set (the maximum possible value). When overflow occurs using a signed division call, the call returns either a value with all bits set (the smallest possible negative value), or all bits clear except the least-significant bit (the smallest positive value).

documentation/development/opera/pf25/ppgfldr/pgsfldr/spg/15spg001.txt · Last modified: 2022/10/10 16:54 by 127.0.0.1