Off-by-one error
Type of numerical or counting error
An off-by-one error or off-by-one bug (known by acronyms OBOE, OBOB, OBO, and OB1) is a logic error that involves a number that differs from its intended value by 1. An off-by-one error can sometimes appear in a mathematical context.
Nº Q1439356 ★★
Uncommon · History
Off-by-one error
Type of numerical or counting error
An off-by-one error or off-by-one bug (known by acronyms OBOE, OBOB, OBO, and OB1) is a logic error that involves a number that differs from its intended value by 1. An off-by-one error can sometimes appear in a mathematical context.
Last price
—
Floor price
—
7-day median
—
30-day sales
0
30-day range
—
In circulation
0
Price history
median
low – high
sales
No sales in this period
Show table
| Date | median | Low | High | sales |
|---|
Sales history
- Last sale
- —
- 30-day average
- —
- 30-day low
- —
- 30-day high
- —
- Sales 7d
- 0
- Sales 30d
- 0
No sales yet.
Anonymous sales: no buyer or seller shown. Figures count player-to-player sales only.
From Wikipedia
An off-by-one error or off-by-one bug (known by acronyms OBOE, OBOB, OBO, and OB1) is a logic error that involves a number that differs from its intended value by 1. An off-by-one error can sometimes appear in a mathematical context. It also often occurs in computer programming when a loop iterates one time too many or too few, usually caused by the use of non-strict inequality (≤) as the terminating condition where strict inequality (<) should have been used, or vice versa. Off-by-one errors also stem from confusion over zero-based numbering.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
Software bug
Error, flaw, failure or fault in a computer program/system that produces an incorrect or unexpected result or causes it to behave in unintended ways
Nº Q179550 ★★★
Buffer overflow
Anomaly in computer security and programming that could be exploited as a security vulnerability
Nº Q19423 ★★
Integer overflow
In programming, a condition that occurs when an arithmetic operation attempts to create a numeric value that is outside of the range that can be represented with a given number of digits
Nº Q1423448 ★★
Race condition
Situation in computer system that occurs when multiple processes try to access a common resource
Nº Q616554 ★★
Undecidable problem
Decision problem for which it is impossible to construct an algorithm that always leads to a correct yes-or-no answer
Nº Q3502995 ★
Mean absolute error
Measure of difference between two continuous variables
Nº Q6803609 ★★