off-by-one error

From Wiktionary, the free dictionary
Jump to navigation Jump to search

English

[edit]
English Wikipedia has an article on:
Wikipedia

Pronunciation

[edit]
  • Audio (US):(file)

Noun

[edit]

off-by-one error (plural off-by-one errors)

  1. (programming) A logic error where a value, typically the number of iterations of a loop, is specified incorrectly, being either 1 less or 1 more than it should be.

See also

[edit]