Off-by-one error
An off-by-one error (OBOE), also commonly known as an OBOB (off-by-one bug) or "that extra inch you didn't really want", is a logic error involving the discrete equivalent of a boundary condition. It often occurs in computer programming when an iterative loop iterates one time too many or too few. This problem could arise when a programmer makes mistakes such as using "is less than or equal to" where "is less than" should have been used in a comparison or fails to take into account that a sequence starts at zero rather than one (as with array indices in many languages). This can also occur in a mathematical context.
Wikipage disambiguates
primaryTopic
Off-by-one error
An off-by-one error (OBOE), also commonly known as an OBOB (off-by-one bug) or "that extra inch you didn't really want", is a logic error involving the discrete equivalent of a boundary condition. It often occurs in computer programming when an iterative loop iterates one time too many or too few. This problem could arise when a programmer makes mistakes such as using "is less than or equal to" where "is less than" should have been used in a comparison or fails to take into account that a sequence starts at zero rather than one (as with array indices in many languages). This can also occur in a mathematical context.
has abstract
An off-by-one error (OBOE), al ...... cur in a mathematical context.
@en
Ein Off-by-one-Error (deutsch ...... r Variable überschrieben wird.
@de
En informatique, une erreur de ...... e débute à zéro plutôt qu'à 1.
@fr
Off by one to błąd programisty ...... zykład do zmiany rejestru ESP.
@pl
Off-by-oneエラー(オフ-バイ-ワンエラー、off- ...... げられる。また、数学的な処理を行っている場合にも発生しうる。
@ja
Un error por uno o error por u ...... rir en un contexto matemático.
@es
Un errore off-by-one error (OB ...... i del tipo divisione per zero)
@it
Ошибка на единицу или ошибка н ...... ммирования начинается с нуля).
@ru
差一错误(英语:Off-by-one error,缩写OBO ...... 程序语言的数组下标都是这样)。在数学领域,此错误也时有发生。
@zh
thumbnail
Link from a Wikipage to an external page
Wikipage page ID
Wikipage revision ID
740,619,605
type
comment
An off-by-one error (OBOE), al ...... cur in a mathematical context.
@en
Ein Off-by-one-Error (deutsch ...... r Variable überschrieben wird.
@de
En informatique, une erreur de ...... e débute à zéro plutôt qu'à 1.
@fr
Off by one to błąd programisty ...... zykład do zmiany rejestru ESP.
@pl
Off-by-oneエラー(オフ-バイ-ワンエラー、off- ...... げられる。また、数学的な処理を行っている場合にも発生しうる。
@ja
Un error por uno o error por u ...... rir en un contexto matemático.
@es
Un errore off-by-one error (OB ...... bene sia settata a valori div
@it
Ошибка на единицу или ошибка н ...... ммирования начинается с нуля).
@ru
差一错误(英语:Off-by-one error,缩写OBO ...... 程序语言的数组下标都是这样)。在数学领域,此错误也时有发生。
@zh
label
Erreur off-by-one
@fr
Off by one
@pl
Off-by-one error
@en
Off-by-one error
@es
Off-by-one error
@it
Off-by-one-Error
@de
Off-by-oneエラー
@ja
Ошибка на единицу
@ru
差一错误
@zh