off-by-one error
English
Pronunciation
Noun
off-by-one error (plural off-by-one errors)Category:English lemmas#OFFBYONEERRORCategory:English nouns#OFFBYONEERRORCategory:English countable nouns#OFFBYONEERRORCategory:English multiword terms#OFFBYONEERRORCategory:English entries with incorrect language header#OFFBYONEERRORCategory:Pages with entries#OFF-BY-ONE%20ERRORCategory:Pages with 1 entry#OFF-BY-ONE%20ERROR
- (programmingCategory:en:Programming#OFFBYONEERROR) 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.
- Synonyms: off-by-one bug, OBOE, OBO
- 2005, Harvey M. Deitel, Paul J. Deitel, C# for Programmers, second edition, Prentice Hall Professional, →ISBN, page 164:
- Using an incorrect relational operator or an incorrect final value of a loop counter in the loop-continuation condition of a repetition statement causes an off-by-one error.Category:English terms with quotations#OFFBYONEERROR
Translations
Translations
See also
Category:English countable nouns
Category:English lemmas
Category:English multiword terms
Category:English nouns
Category:English terms with audio pronunciation
Category:English terms with quotations
Category:Entries with translation boxes
Category:Pages with 1 entry
Category:Pages with entries
Category:Terms with Finnish translations
Category:Terms with German translations
Category:Terms with Polish translations
Category:Translation table header lacks gloss
Category:en:Programming
