Integers

siteTitle PLDB: A Programming Language Database

siteDescription PLDB: a Programming Language Database. Build the next great programming language.

github https://github.com/breck7/pldb

html,body,div,span,h1,h2,h3,h4,p,ol,ul,table,figure { margin: 0; padding: 0; border: 0; vertical-align: baseline; border-spacing: 0; } html { padding: 4px; background-color: rgb(244,244,244); font-family: Exchange,Georgia,serif; color: #000; font-size: 14px; hyphens: auto; } .scrollHeaderComponent svg { width: 30px; height: 30px; fill: rgba(204,204,204,.8); } .scrollHeaderComponent svg:hover { fill: #333; } .scrollHeaderComponent a { color: rgba(204,204,204,.8); position: absolute; font-size: 30px; line-height: 27px; text-decoration: none; } .scrollHeaderComponent a:hover { color: #333; } .scrollHeaderComponent .scrollTopLeftBarComponent { text-align: left; left: 25px; } .scrollHeaderComponent .scrollTopRightBarComponent { text-align: right; right: 25px; } .scrollHeaderComponent a.scrollPrevPageLink { left: 3px; } .scrollHeaderComponent a.scrollNextPageLink { right: 3px; } .scrollFooterComponent { margin-top: 8px; padding-top: 8px; text-align: center; } .scrollFooterComponent svg { width: 30px; height: 30px; fill: rgba(204,204,204, .5); padding: 0 7px; } .scrollFooterComponent svg:hover { fill: #333; } .scrollCommunityLinkComponent { display: block; font-family: Verdana; font-weight: 100; margin: .5em; text-decoration: none; color: rgba(204,204,204,.5); } .scrollColumnsComponent { column-count: auto; column-fill: balance; column-width: 35ch; column-gap: 20px; padding-left: 20px; padding-right: 20px; margin: auto; } .scrollSnippetContainerComponent { padding: 1ch 0; break-inside: avoid; text-align: justify; } .scrollTitleComponent { text-align: center; margin-bottom: .25em; } .scrollTitleComponent a { text-decoration: none; color: #000; } .scrollDateComponent { font-style: italic; font-size: 80%; } .scrollParagraphComponent { margin-top: 0.4em; line-height: 1.4em; } .scrollQuoteComponent { break-inside: avoid; display: block; margin: .5em 0; padding: .5em; background: rgba(204,204,204,.5); white-space: pre-line; border-left: .5em solid rgba(204,204,204,.8); } .scrollSectionComponent { break-inside: avoid; } .scrollSectionComponent h3 { margin-top: 1em; text-align: center; } .scrollSectionComponent h4 { margin-top: 1em; text-align: center; } h4.scrollQuestionComponent { text-align: left; } .scrollNoteLink { text-decoration: none; opacity: .4; } .scrollNoteIndex { text-decoration: none; } code { font-size: 90%; background-color: rgba(204,204,204,.5); padding: 2px 4px; border-radius: 4px; } .scrollCodeBlockComponent { overflow: auto; font-size: 80%; hyphens: none; white-space: pre; border-left: .5em solid rgba(204,204,204,.8); break-inside: avoid; display: block; margin: .5em 0; padding: .5em; border-radius: 0; } .scrollTableComponent { table-layout: fixed; margin: .5em 0; overflow: hidden; font-size: 80%; width: 100%; hyphens: none; border: 1px solid rgba(224,224,224,.8); } .scrollTableComponent td,.scrollTableComponent th { padding: 3px; overflow: hidden; } .scrollTableComponent th { border-bottom: 2px solid rgba(0,0,0,.6); text-align: left; } .scrollTableComponent tr:nth-child(even) { background: rgba(224,224,224,.6); } .scrollAuthor { font-size: 12px; font-style: italic; margin: 4px 0; text-align: center; } .scrollKpiTable { width: 100%; font-size: 30px; text-align: center; font-weight: bold; break-inside: avoid; margin-top: 8px; margin-bottom: 8px; } .scrollKpiTable td { width: 33.3%; border: 1px solid #e8e8e8; } .scrollKpiTable span { font-size: 20p;; display: block; } .scrollFileViewSourceUrlComponent { text-align: center; font-size: 80%; margin: 0; margin-top: 0.4em; line-height: 1.4em; margin-bottom: 1em; } .scrollFileViewSourceUrlComponent a { color: #000; text-decoration: none; } .scrollContinueReadingLink { display: block; text-align: center; } .scrollDialogueComponent span { font-family: Verdana; margin-top: 5px; padding: 5px 20px; border-radius: 15px; display: inline-block; } .scrollDialogueComponentLeft { text-align: left; } .scrollDialogueComponentLeft span { background: rgba(204,204,204, .5); } .scrollDialogueComponentRight { text-align: right; } .scrollDialogueComponentRight span { color: white; background: rgb(0,132,255); } .scrollCaptionedComponent { display: block; text-align: center; } .scrollCaptionedComponent img { max-width: 98%; height: auto; } .scrollCaptionedComponent figcaption { font-style: italic; } .scrollKeyboardNav { display: none; } .scrollHoverNote { text-decoration: underline dashed 1px rgba(0,0,0,.1); cursor: default; } .youTubeHolder { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; } .youTubeEmbed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

maxColumns 2

< >

View source

Built with Scroll v54.1.0

maxColumns 4

htmlTitle Integers - Feature

paragraph

paragraph

list


paragraph

Example from JavaScript, JSON, Julia:
80766866
Example from Java, AspectJ:
// 0|[1-9][0-9_]*[lL]?
Example from C, C#:
int pldb = 80766866;
Example from Python, Ruby:
pldb = 80766866
Example from C++:
int i = 0;
Example from SQL, Eiffel, Transact-SQL:
-- [0-9]+
Example from Perl:
# \d+(_\d+)*
Example from MySQL:
-- [0-9]+(?=[^0-9a-z$_\u0080-\uffff])
Example from Go:
i, j := 42, 2701
Example from Swift:
// [0-9][0-9_]*
Example from Haskell:
-- \d(_*\d)*
Example from Ada:
-- [0-9_]+
Example from Prolog:
% \d\d?\'[a-zA-Z0-9]+
Example from Clojure, Hy, Fennel:
; -?\d+
Example from Elixir:
# \d(_?\d)*
Example from Erlang:
% [+-]?(?:[2-9]|[12][0-9]|3[0-6])#[0-9a-zA-Z]+
Example from Reason:
// \d[\d_]*
Example from Bash:
PLDB=80766866
Example from awk, CoffeeScript:
# [0-9]+
Example from F#:
// \d[\d_]*[uU]?[yslLnQRZINGmM]?
Example from Verilog:
// ([0-9]+)|(\'d)[0-9]+
Example from Elm:
-- _?\d+
Example from D:
// (0|[1-9][0-9_]*)([LUu]|Lu|LU|uL|UL)?
Example from VHDL:
-- \d{1,2}#[0-9a-f_]+#?
Example from PostScript:
% (\-|\+)?[0-9]+(?=[()<>\[\]{}/%\s])
Example from Chapel, Zephir, QML, SuperCollider, Alloy, Koka, Whiley, POV-Ray SDL:
// [0-9]+
Example from Forth:
\ (\#|%|&|\-|\+)?[0-9]+
Example from Idris, Agda:
-- \d+
Example from Applescript:
-- [-+]?\d+
Example from VBScript, Monkey:
' [0-9]+
Example from AMPL:
# \d+([eE][+-]?\d+)?
Example from Protocol Buffers:
// \d+[LlUu]*
Example from ABAP:
* [0-9]+
Example from AutoIt, AutoHotkey:
; \d+
Example from GNU Octave:
% \d+
Example from TOML:
# \d{4}-\d{2}-\d{2}(?:T| )\d{2}:\d{2}:\d{2}(?:Z|[-+]\d{2}:\d{2})
Example from Icon, Unicon:
# \b([+-]?[0-9]+[KMGTPkmgtp]?)\b
Example from Scilab, Io, Modelica, Linden Scripting Language:
// \d+
Example from Boo:
# \d+
Example from Ceylon:
// \d{1,3}(_\d{3})+[kMGTP]?
Example from J:
NB. _?\d+
Example from SPARQL:
# [+\-]?\d+
Example from SystemVerilog:
// ([1-9][_0-9]*)?\s*\'[sS]?[dD]\s*[xXzZ?0-9][_xXzZ?0-9]*
Example from LiveScript:
# [0-9]+(~[0-9a-z]+)?(?:[a-zA-Z_]+)?
Example from Pig Latin:
-- [0-9]+L?
Example from Ion:
// http://amzn.github.io/ion-docs/docs/spec.html null.int // A null int value 0 // Zero. Surprise! -0 // ...the same value with a minus sign 123 // A normal int -123 // Another negative int 0xBeef // An int denoted in hexadecimal 0b0101 // An int denoted in binary 1_2_3 // An int with underscores 0xFA_CE // An int denoted in hexadecimal with underscores 0b10_10_10 // An int denoted in binary with underscores
Example from K:
/ [0-9]+[ihtuv]
Example from Ragel:
# [+-]?[0-9]+
Example from Felix:
// (0|[1-9][0-9_]*)([tTsSiIlLvV]|ll|LL|([iIuU])(8|16|32|64))?
Example from MiniD:
// ([0-9][0-9_]*)(?![.eE])
Example from GDScript:
# \d+j?
Example from Golo:
# -?\d[\d_]*
infix-notation-feature.html · integers-feature.html · interface-feature.html