Dot-decimal notation

Dot-decimal notation

Dot-decimal notation is a presentation format for numerical data. It consists of a string of decimal numbers, each pair separated by a full stop (dot).

A common use of dot-decimal notation is in information technology where it is a method of writing numbers in octet-grouped base-10 (decimal) numbers separated by dots (full stops). In computer networking, Internet Protocol Version 4 addresses are commonly written using the quad-dotted notation of four decimal integers, ranging from 0 to 255 each.

Contents

Definition and use

Dot-decimal notation is a presentation format for numerical data expressed as a string of decimal numbers each separated by a full stop.

For example, the hexadecimal number 0xFF0000 is expressed in dot-decimal notation as 255.0.0.

In computer networking, the term is often used as a synonym of dotted quad notation,[1] or quad-dotted notation, a specific use to represent Internet Protocol Version 4 addressess. [2]

Object identifiers use a style of dot-decimal notation to represent an arbitrarily deep hierarchy of objects identified by arbitrary decimal numbers.[citation needed]

Common decimal fractions are sometimes said to be written in dotted decimal notation.[3] For example the fraction 1/8 is represented as 0.125.

IPv4 address

An IP address (version 4) in both dot-decimal notation and binary code

An Internet Protocol Version 4 (IPv4) address consists of 32 bits, which may be divided into four octets. These four octets are written in decimal numbers, ranging from 0 to 255, and are concatenated as a character string with full stop delimiters between each number.

For example, the address of the loopback interface, usually assigned the host name localhost, is 127.0.0.1. It consists of the four binary octets 01111111, 00000000, 00000000, and 00000001, forming the full 32-bit address.

Caveat

In information technology, an integer number that starts with the digit 0 is often interpreted as a number in octal representation. Therefore, if an IP address component is written with a leading 0 digit, it may be interpreted incorrectly by some utility programs.[4] For example, the representation 022.101.031.153 is interpreted as 18.101.25.153 in decimal notation.[note 1]

See also

Notes

  1. ^ Similarly, standard IP addresses can be written with a leading 0x to mean a hexadecimal address: pinging 133.45.0xEE.0x10 pings the decimal address 133.45.238.16.

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Dot notation — can refer to: Newton s notation for differentiation (see also Notation for differentiation). Lewis dot notation also known as Electron dot notation Dot decimal notation Kepatihan notation Dotted note Dot product DOT language Dot notation is also… …   Wikipedia

  • Decimal — Dec i*mal, a. [F. d[ e]cimal (cf. LL. decimalis), fr. L. decimus tenth, fr. decem ten. See {Ten}, and cf. {Dime}.] Of or pertaining to decimals; numbered or proceeding by tens; having a tenfold increase or decrease, each unit being ten times the… …   The Collaborative International Dictionary of English

  • Decimal arithmetic — Decimal Dec i*mal, a. [F. d[ e]cimal (cf. LL. decimalis), fr. L. decimus tenth, fr. decem ten. See {Ten}, and cf. {Dime}.] Of or pertaining to decimals; numbered or proceeding by tens; having a tenfold increase or decrease, each unit being ten… …   The Collaborative International Dictionary of English

  • Decimal fraction — Decimal Dec i*mal, a. [F. d[ e]cimal (cf. LL. decimalis), fr. L. decimus tenth, fr. decem ten. See {Ten}, and cf. {Dime}.] Of or pertaining to decimals; numbered or proceeding by tens; having a tenfold increase or decrease, each unit being ten… …   The Collaborative International Dictionary of English

  • Decimal point — Decimal Dec i*mal, a. [F. d[ e]cimal (cf. LL. decimalis), fr. L. decimus tenth, fr. decem ten. See {Ten}, and cf. {Dime}.] Of or pertaining to decimals; numbered or proceeding by tens; having a tenfold increase or decrease, each unit being ten… …   The Collaborative International Dictionary of English

  • Decimal mark — For the proper choice of the decimal mark in English language Wikipedia articles, see Wikipedia:Manual of Style (dates and numbers)#Decimal points. Numeral systems by culture Hindu Arabic numerals Western Arabic (Hindu numerals) Eastern Arabic… …   Wikipedia

  • Decimal separator — In a positional numeral system, the decimal separator is a symbol used to mark the boundary between the integral and the fractional parts of a decimal numeral. When used in context of Arabic numerals, terms implying the symbol used are decimal… …   Wikipedia

  • Dot — Contents 1 Typography 2 Entertainment 3 Companies and agencies 4 …   Wikipedia

  • Decimal floating point — Floating point precisions IEEE 754: 16 bit: Half (binary16) 32 bit: Single (binary32), decimal32 64 bit: Double (binary64), decimal64 128 bit: Quadruple (binary128), decimal128 Other: Minifloat · Extended precision Arbitrary precision… …   Wikipedia

  • decimal point — noun the dot at the left of a decimal fraction • Syn: ↑percentage point, ↑point • Hypernyms: ↑mathematical notation * * * noun, pl ⋯ points [count] mathematics : the dot (as in .678 or 3.678) that separates a whole number from tenths, hundredths …   Useful english dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”