env.dev

Programming Constants

The programming constants reference. Find the value, type, and usage for any constant across languages.

Filter by tag
Jump to section

JavaScript / TypeScript41

BigInt64Array.BYTES_PER_ELEMENTtyped-array
Float32Array.BYTES_PER_ELEMENTtyped-array
Float64Array.BYTES_PER_ELEMENTtyped-array
globalThisspecial
Infinityspecial
Int16Array.BYTES_PER_ELEMENTtyped-array
Int32Array.BYTES_PER_ELEMENTtyped-array
Int8Array.BYTES_PER_ELEMENTtyped-array
Math.Emath
Math.LN10math
Math.LN2math
Math.LOG10Emath
Math.LOG2Emath
Math.PImath
Math.SQRT1_2math
Math.SQRT2math
NaNspecial
nullspecial
Number.EPSILONlimits
Number.MAX_SAFE_INTEGERlimits
Number.MAX_VALUElimits
Number.MIN_SAFE_INTEGERlimits
Number.MIN_VALUElimits
Number.NaNspecial
Number.NEGATIVE_INFINITYlimits
Number.POSITIVE_INFINITYlimits
RegExp.lastMatchregex
Symbol.asyncIteratorsymbol
Symbol.hasInstancesymbol
Symbol.iteratorsymbol
Symbol.matchsymbol
Symbol.replacesymbol
Symbol.searchsymbol
Symbol.speciessymbol
Symbol.splitsymbol
Symbol.toPrimitivesymbol
Symbol.toStringTagsymbol
Uint16Array.BYTES_PER_ELEMENTtyped-array
Uint32Array.BYTES_PER_ELEMENTtyped-array
Uint8Array.BYTES_PER_ELEMENTtyped-array
undefinedspecial

Python32

__debug__builtin
Ellipsisbuiltin
Falsebuiltin
float('-inf')special
float('inf')special
float('nan')special
math.emath
math.infspecial
math.nanspecial
math.pimath
math.taumath
Nonebuiltin
NotImplementedbuiltin
os.curdiros
os.devnullos
os.linesepos
os.pardiros
os.pathsepos
os.sepos
string.ascii_lettersstring
string.ascii_lowercasestring
string.ascii_uppercasestring
string.digitsstring
string.hexdigitsstring
string.octdigitsstring
string.punctuationstring
string.whitespacestring
sys.float_info.epsilonlimits
sys.float_info.maxlimits
sys.float_info.minlimits
sys.maxsizelimits
Truebuiltin

Go25

io.SeekCurrentio
io.SeekEndio
io.SeekStartio
math.Emath
math.Ln10math
math.Ln2math
math.Log10Emath
math.Log2Emath
math.MaxFloat32limits
math.MaxFloat64limits
math.MaxIntlimits
math.MaxInt64limits
math.MaxUintlimits
math.MinIntlimits
math.MinInt64limits
math.Phimath
math.Pimath
math.SmallestNonzeroFloat32limits
math.SmallestNonzeroFloat64limits
math.Sqrt2math
math.SqrtEmath
math.SqrtPhimath
math.SqrtPimath
os.PathListSeparatoros
os.PathSeparatoros

Rust22

std::char::MAXlimits
std::f64::consts::Emath
std::f64::consts::FRAC_PI_2math
std::f64::consts::FRAC_PI_4math
std::f64::consts::LN_10math
std::f64::consts::LN_2math
std::f64::consts::LOG10_Emath
std::f64::consts::LOG2_Emath
std::f64::consts::PImath
std::f64::consts::SQRT_2math
std::f64::consts::TAUmath
std::f64::EPSILONlimits
std::f64::INFINITYspecial
std::f64::MAXlimits
std::f64::MINlimits
std::f64::NANspecial
std::f64::NEG_INFINITYspecial
std::i32::MAXlimits
std::i32::MINlimits
std::u8::MAXlimits
std::usize::MAXlimits
std::usize::MINlimits

Java27

Boolean.FALSEbuiltin
Boolean.TRUEbuiltin
Byte.MAX_VALUElimits
Byte.MIN_VALUElimits
Character.MAX_VALUElimits
Character.MIN_VALUElimits
Collections.EMPTY_LISTcollections
Collections.EMPTY_MAPcollections
Collections.EMPTY_SETcollections
Double.MAX_VALUElimits
Double.MIN_VALUElimits
Double.NaNspecial
Double.NEGATIVE_INFINITYspecial
Double.POSITIVE_INFINITYspecial
Float.MAX_VALUElimits
Float.MIN_VALUElimits
Float.NaNspecial
Float.NEGATIVE_INFINITYspecial
Float.POSITIVE_INFINITYspecial
Integer.MAX_VALUElimits
Integer.MIN_VALUElimits
Long.MAX_VALUElimits
Long.MIN_VALUElimits
Math.Emath
Math.PImath
Short.MAX_VALUElimits
Short.MIN_VALUElimits

HTTP Status Codes59

100 Continueinformational
101 Switching Protocolsinformational
102 Processinginformational
103 Early Hintsinformational
200 OKsuccess
201 Createdsuccess
202 Acceptedsuccess
203 Non-Authoritative Informationsuccess
204 No Contentsuccess
205 Reset Contentsuccess
206 Partial Contentsuccess
207 Multi-Statussuccess
300 Multiple Choicesredirect
301 Moved Permanentlyredirect
302 Foundredirect
303 See Otherredirect
304 Not Modifiedredirect
307 Temporary Redirectredirect
308 Permanent Redirectredirect
400 Bad Requestclient-error
401 Unauthorizedclient-error
402 Payment Requiredclient-error
403 Forbiddenclient-error
404 Not Foundclient-error
405 Method Not Allowedclient-error
406 Not Acceptableclient-error
407 Proxy Authentication Requiredclient-error
408 Request Timeoutclient-error
409 Conflictclient-error
410 Goneclient-error
411 Length Requiredclient-error
412 Precondition Failedclient-error
413 Payload Too Largeclient-error
414 URI Too Longclient-error
415 Unsupported Media Typeclient-error
416 Range Not Satisfiableclient-error
417 Expectation Failedclient-error
418 I'm a Teapotclient-error
421 Misdirected Requestclient-error
422 Unprocessable Entityclient-error
423 Lockedclient-error
424 Failed Dependencyclient-error
425 Too Earlyclient-error
426 Upgrade Requiredclient-error
428 Precondition Requiredclient-error
429 Too Many Requestsclient-error
431 Request Header Fields Too Largeclient-error
500 Internal Server Errorserver-error
501 Not Implementedserver-error
502 Bad Gatewayserver-error
503 Service Unavailableserver-error
504 Gateway Timeoutserver-error
505 HTTP Version Not Supportedserver-error
506 Variant Also Negotiatesserver-error
507 Insufficient Storageserver-error
508 Loop Detectedserver-error
510 Not Extendedserver-error
511 Network Authentication Requiredserver-error

Mathematical Constants16

Apery's constantmathematical
Avogadro's numberphysical
Boltzmann constantphysical
Catalan's constantmathematical
E (Euler's number)mathematical
Elementary chargephysical
Euler-Mascheroni constantmathematical
Fine-structure constantphysical
Golden Ratio (Phi)mathematical
Gravitational constantphysical
Ln(2)mathematical
Pimathematical
Planck's constantphysical
Speed of lightphysical
Sqrt(2)mathematical
Taumathematical