Programming languages have some undefined behaviors, such as what to do with misaligned pointers or when encountering signed integer overflows.
编程语言有一些未定义行为,例如如何处理偏离的指针以及遇到带符号整数溢出时该怎么办。
单词 | Integer overflow |
释义 |
Integer overflow
原声例句
Apple 最新资讯 Programming languages have some undefined behaviors, such as what to do with misaligned pointers or when encountering signed integer overflows. 编程语言有一些未定义行为,例如如何处理偏离的指针以及遇到带符号整数溢出时该怎么办。
英语百科
Integer overflow![]() In computer programming, an integer overflow occurs when an arithmetic operation attempts to create a numeric value that is too large to be represented within the available storage space. For instance, taking the arithmetic mean of two numbers by adding them and dividing by two, as done in many search algorithms, causes error if the sum (although not the resulting mean) is too large to be represented, and hence overflows. The most common result of an overflow is that the least significant representable bits of the result are stored; the result is said to wrap. On some processors like GPUs and DSPs, the result saturates; that is, once the maximum value is reached, any attempt to increase it always returns the maximum integer value. |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。