off-by-one error

English

Pronunciation

  • (file)

Noun

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

This article is issued from Wiktionary. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.