Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Interval (mathematics)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Integer intervals=== When {{mvar|a}} and {{mvar|b}} are [[integer]]s, the notation β¦''a, b''β§, or {{closed-closed|''a'' .. ''b''}} or {{math|{''a'' .. ''b''}{{null}}}} or just {{math|''a'' .. ''b''}}, is sometimes used to indicate the interval of all ''integers'' between {{mvar|a}} and {{mvar|b}} included. The notation {{closed-closed|''a'' .. ''b''}} is used in some [[programming language]]s; in [[Pascal programming language|Pascal]], for example, it is used to formally define a subrange type, most frequently used to specify lower and upper bounds of valid [[Indexed family|indices]] of an [[Array data type|array]]. Another way to interpret integer intervals are as [[Set-builder_notation#Sets_defined_by_enumeration|sets defined by enumeration]], using [[ellipsis]] notation. An integer interval that has a finite lower or upper endpoint always includes that endpoint. Therefore, the exclusion of endpoints can be explicitly denoted by writing {{math|''a'' .. ''b''βββ1}}β, {{math|''a''β+β1 .. ''b''}}β, or {{math|''a''β+β1 .. ''b''βββ1}}. Alternate-bracket notations like {{closed-open|''a'' .. ''b''}} or {{math|[''a'' .. ''b''[}} are rarely used for integer intervals.{{citation needed|date=February 2014}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)