Scientific notation is a way of expressing
numbers
A number is a mathematical object used to count, measure, and label. The original examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in language with number words. More universally, individual numbers can ...
that are too large or too small (usually would result in a long string of digits) to be conveniently written in
decimal form. It may be referred to as scientific form or standard index form, or standard form in the United Kingdom. This
base ten
The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral ...
notation is commonly used by scientists, mathematicians, and engineers, in part because it can simplify certain
arithmetic operations
Arithmetic () is an elementary part of mathematics that consists of the study of the properties of the traditional operations on numbers—addition, subtraction, multiplication, division, exponentiation, and extraction of roots. In the 19th ce ...
. On scientific calculators it is usually known as "SCI" display mode.
In scientific notation, nonzero numbers are written in the form
or ''m'' times ten raised to the power of ''n'', where ''n'' is an
integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign (−1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
, and the
coefficient
In mathematics, a coefficient is a multiplicative factor in some term of a polynomial, a series, or an expression; it is usually a number, but may be any expression (including variables such as , and ). When the coefficients are themselves var ...
''m'' is a nonzero
real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
(usually between 1 and 10 in absolute value, and nearly always written as a
terminating decimal
A repeating decimal or recurring decimal is decimal representation of a number whose digits are periodic (repeating its values at regular intervals) and the infinitely repeated portion is not zero. It can be shown that a number is rational if an ...
). The integer ''n'' is called the
exponent
Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to re ...
and the real number ''m'' is called the ''
significand
The significand (also mantissa or coefficient, sometimes also argument, or ambiguously fraction or characteristic) is part of a number in scientific notation or in floating-point representation, consisting of its significant digits. Depending on ...
'' or ''mantissa''.
The term "mantissa" can be ambiguous where logarithms are involved, because it is also the traditional name of the
fractional part
The fractional part or decimal part of a non‐negative real number x is the excess beyond that number's integer part. If the latter is defined as the largest integer not greater than , called floor of or \lfloor x\rfloor, its fractional part can ...
of the
common logarithm
In mathematics, the common logarithm is the logarithm with base 10. It is also known as the decadic logarithm and as the decimal logarithm, named after its base, or Briggsian logarithm, after Henry Briggs, an English mathematician who pioneered i ...
. If the number is negative then a minus sign precedes ''m'', as in ordinary decimal notation. In
normalized notation, the exponent is chosen so that the
absolute value
In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), an ...
(modulus) of the significand ''m'' is at least 1 but less than 10.
Decimal floating point
Decimal floating-point (DFP) arithmetic refers to both a representation and operations on decimal floating-point numbers. Working directly with decimal (base-10) fractions can avoid the rounding errors that otherwise typically occur when convert ...
is a computer arithmetic system closely related to scientific notation.
Normalized notation
Any given real number can be written in the form in many ways: for example, 350 can be written as or or .
In ''normalized'' scientific notation (called "standard form" in the United Kingdom), the exponent ''n'' is chosen so that the
absolute value
In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), an ...
of ''m'' remains at least one but less than ten (1 ≤ , ''m'', < 10). Thus 350 is written as . This form allows easy comparison of numbers: numbers with bigger exponents are (due to the normalization) larger than those with smaller exponents, and subtraction of exponents gives an estimate of the number of
orders of magnitude
An order of magnitude is an approximation of the logarithm of a value relative to some contextually understood reference value, usually 10, interpreted as the base of the logarithm and the representative of values of magnitude one. Logarithmic dis ...
separating the numbers. It is also the form that is required when using tables of
common logarithm
In mathematics, the common logarithm is the logarithm with base 10. It is also known as the decadic logarithm and as the decimal logarithm, named after its base, or Briggsian logarithm, after Henry Briggs, an English mathematician who pioneered i ...
s. In normalized notation, the exponent ''n'' is negative for a number with absolute value between 0 and 1 (e.g. 0.5 is written as ). The 10 and exponent are often omitted when the exponent is 0.
Normalized scientific form is the typical form of expression of large numbers in many fields, unless an unnormalized or differently normalized form, such as
engineering notation
Engineering notation or engineering form (also technical notation) is a version of scientific notation in which the exponent of ten must be divisible by three (i.e., they are powers of a thousand, but written as, for example, 106 instead of 1000 ...
, is desired. Normalized scientific notation is often called
exponential
Exponential may refer to any of several mathematical topics related to exponentiation, including:
*Exponential function, also:
**Matrix exponential, the matrix analogue to the above
* Exponential decay, decrease at a rate proportional to value
*Exp ...
notation—although the latter term is more general and also applies when ''m'' is not restricted to the range 1 to 10 (as in engineering notation for instance) and to
bases other than 10 (for example, ).
Engineering notation
Engineering notation (often named "ENG" on scientific calculators) differs from normalized scientific notation in that the exponent ''n'' is restricted to
multiples of 3. Consequently, the absolute value of ''m'' is in the range 1 ≤ , ''m'', < 1000, rather than 1 ≤ , ''m'', < 10. Though similar in concept, engineering notation is rarely called scientific notation. Engineering notation allows the numbers to explicitly match their corresponding
SI prefixes
A metric prefix is a unit prefix that precedes a basic unit of measure to indicate a multiple or submultiple of the unit. All metric prefixes used today are decadic. Each prefix has a unique symbol that is prepended to any unit symbol. The pre ...
, which facilitates reading and oral communication. For example, can be read as "twelve-point-five nanometres" and written as , while its scientific notation equivalent would likely be read out as "one-point-two-five times ten-to-the-negative-eight metres".
Significant figures
A significant figure is a digit in a number that adds to its precision. This includes all nonzero numbers, zeroes between significant digits, and zeroes
indicated to be significant.
Leading and trailing zeroes are not significant digits, because they exist only to show the scale of the number. Unfortunately, this leads to ambiguity. The number is usually read to have five significant figures: 1, 2, 3, 0, and 4, the final two zeroes serving only as placeholders and adding no precision. The same number, however, would be used if the last two digits were also measured precisely and found to equal 0 — seven significant figures.
When a number is converted into normalized scientific notation, it is scaled down to a number between 1 and 10. All of the significant digits remain, but the placeholding zeroes are no longer required. Thus would become if it had five significant digits. If the number were known to six or seven significant figures, it would be shown as or . Thus, an additional advantage of scientific notation is that the number of significant figures is unambiguous.
Estimated final digits
It is customary in scientific measurement to record all the definitely known digits from the measurement and to estimate at least one additional digit if there is any information at all available on its value. The resulting number contains more information than it would without the extra digit, which may be considered a significant digit because it conveys some information leading to greater precision in measurements and in aggregations of measurements (adding them or multiplying them together).
Additional information about precision can be conveyed through additional notation. It is often useful to know how exact the final digit is. For instance, the accepted value of the mass of the
proton
A proton is a stable subatomic particle, symbol , H+, or 1H+ with a positive electric charge of +1 ''e'' elementary charge. Its mass is slightly less than that of a neutron and 1,836 times the mass of an electron (the proton–electron mass ...
can properly be expressed as , which is shorthand for .
E notation
Most
calculator
An electronic calculator is typically a portable electronic device used to perform calculations, ranging from basic arithmetic to complex mathematics.
The first solid-state electronic calculator was created in the early 1960s. Pocket-sized ...
s and many
computer program
A computer program is a sequence or set of instructions in a programming language for a computer to execute. Computer programs are one component of software, which also includes documentation and other intangible components.
A computer program ...
s present very large and very small results in scientific notation, typically invoked by a key labelled (for ''exponent''), (for ''enter exponent''), , , , or depending on vendor and model. Because
superscripted exponents like 10
7 cannot always be conveniently displayed, the letter ''E'' (or ''e'') is often used to represent "times ten raised to the power of" (which would be written as ) and is followed by the value of the exponent; in other words, for any real number ''m'' and integer ''n'', the usage of "''m''E''n''" would indicate a value of ''m'' × 10
''n''. In this usage the character ''e'' is not related to the
mathematical constant ''e'' or the
exponential function
The exponential function is a mathematical function denoted by f(x)=\exp(x) or e^x (where the argument is written as an exponent). Unless otherwise specified, the term generally refers to the positive-valued function of a real variable, a ...
''e''
''x'' (a confusion that is unlikely if scientific notation is represented by a capital ''E''). Although the ''E'' stands for ''exponent'', the notation is usually referred to as ''(scientific) E notation'' rather than ''(scientific) exponential notation''. The use of E notation facilitates data entry and readability in textual communication since it minimizes keystrokes, avoids reduced font sizes and provides a simpler and more concise display, but it is not encouraged in some publications.
Examples and other notations
* Since its first version released for the
IBM 704
The IBM 704 is a large digital mainframe computer introduced by IBM in 1954. It was the first mass-produced computer with hardware for floating-point arithmetic. The IBM 704 ''Manual of operation'' states:
The type 704 Electronic Data-Pro ...
in 1956, the
Fortran language has used E notation for floating point numbers.
It was not part of the preliminary specification as of 1954.
* The E notation was already used by the developers of
SHARE Operating System
The SHARE Operating System (SOS) is an operating system introduced in 1959 by the SHARE user group. It is an improvement on the General Motors GM-NAA I/O operating system, the first operating system for the IBM 704. The main objective was to im ...
(SOS) for the
IBM 709
The IBM 709 was a computer system, initially announced by IBM in January 1957 and first installed during August 1958. The 709 was an improved version of its predecessor, the IBM 704, and was the third of the IBM 700/7000 series of scientific co ...
in 1958.
* In most popular programming languages, (or ) is equivalent to
, and
would be written (e.g.
Ada
Ada may refer to:
Places
Africa
* Ada Foah, a town in Ghana
* Ada (Ghana parliament constituency)
* Ada, Osun, a town in Nigeria
Asia
* Ada, Urmia, a village in West Azerbaijan Province, Iran
* Ada, Karaman, a village in Karaman Province, ...
,
Analytica,
C/
C++
C++ (pronounced "C plus plus") is a high-level general-purpose programming language created by Danish computer scientist Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". The language has expanded significan ...
, Fortran,
MATLAB
MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementation ...
,
Scilab
Scilab is a free and open-source, cross-platform numerical computational package and a high-level, numerically oriented programming language. It can be used for signal processing, statistical analysis, image enhancement, fluid dynamics simulat ...
,
Perl
Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages. "Perl" refers to Perl 5, but from 2000 to 2019 it also referred to its redesigned "sister language", Perl 6, before the latter's name was offici ...
,
Java
Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's List ...
,
Python
Python may refer to:
Snakes
* Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia
** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia
* Python (mythology), a mythical serpent
Computing
* Python (pro ...
,
Lua
Lua or LUA may refer to:
Science and technology
* Lua (programming language)
* Latvia University of Agriculture
* Last universal ancestor, in evolution
Ethnicity and language
* Lua people, of Laos
* Lawa people, of Thailand sometimes referred t ...
,
JavaScript
JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of Website, websites use JavaScript on the Client (computing), client side ...
, and others).
* After the introduction of the first
pocket calculator
An electronic calculator is typically a portable electronic device used to perform calculations, ranging from basic arithmetic to complex mathematics.
The first solid-state electronic calculator was created in the early 1960s. Pocket-sized d ...
s supporting scientific notation in 1972 (
HP-35
The HP-35 was Hewlett-Packard's first pocket calculator and the world's first ''scientific'' pocket calculator: a calculator with trigonometric and exponential functions. It was introduced in 1972.
History
In about 1970 HP co-founder Bill Hewl ...
,
SR-10) the term ''decapower'' was sometimes used in the emerging user communities for the power-of-ten multiplier in order to better distinguish it from "normal" exponents. Likewise, the letter "D" was used in typewritten numbers. This notation was proposed by Jim Davidson and published in the January 1976 issue of Richard J. Nelson's
Hewlett-Packard
The Hewlett-Packard Company, commonly shortened to Hewlett-Packard ( ) or HP, was an American multinational information technology company headquartered in Palo Alto, California. HP developed and provided a wide variety of hardware components ...
newsletter ''
65 Notes
''PPC Journal'' was an early hobbyist computer magazine, originally targeted at users of HP's first programmable calculator, the HP-65. It originated as ''65 Notes'' and the first issue was published in 1974. It later changed names in 1978 to '' ...
''
for
HP-65
The HP-65 is the first magnetic card-programmable handheld calculator. Introduced by Hewlett-Packard in 1974 at an MSRP of $795 (), it featured nine storage registers and room for 100 keystroke instructions. It also included a magnetic card re ...
users, and it was adopted and carried over into the
Texas Instruments
Texas Instruments Incorporated (TI) is an American technology company headquartered in Dallas, Texas, that designs and manufactures semiconductors and various integrated circuits, which it sells to electronics designers and manufacturers globall ...
community by Richard C. Vanderburgh, the editor of the ''
52-Notes'' newsletter for
SR-52
The following highways are numbered 52:
Australia
* Kings Highway (Australia)
* Isis Highway (Childers, Queensland, Childers to Ban Ban Springs, Queensland, Ban Ban Springs) - Queensland State Route 52 (Wide Bay–Burnett Region)
* Gillies Highw ...
users in November 1976.
(NB. The term ''decapower'' was frequently used in subsequent issues of this newsletter up to at least 1978.)
* The displays of LED pocket calculators did not display an "E" or "e". Instead, one or more digits were left blank between the mantissa and exponent (e.g.
6.022 23
, such as in the
HP-25, Hewlett-Packard HP-25), or a pair of smaller and slightly raised digits reserved for the exponent was used (e.g.
6.022 23
, such as in the
Commodore PR100).
* Fortran (at least since
FORTRAN IV as of 1961) also uses "D" to signify
double precision
Double-precision floating-point format (sometimes called FP64 or float64) is a floating-point number format, usually occupying 64 bits in computer memory; it represents a wide dynamic range of numeric values by using a floating radix point.
Flo ...
numbers in scientific notation.
* Similar, a "D" was used by
Sharp
Sharp or SHARP may refer to:
Acronyms
* SHARP (helmet ratings) (Safety Helmet Assessment and Rating Programme), a British motorcycle helmet safety rating scheme
* Self Help Addiction Recovery Program, a charitable organisation founded in 19 ...
pocket computer
A pocket computer was a 1980s-era user programmable calculator-sized computer that had fewer screen lines,
Some had only one line and often fewer characters per line, than the Pocket-sized computers introduced beginning in 1989. Manufacturers i ...
s
PC-1280,
PC-1470U,
PC-1475,
PC-1480U,
PC-1490U,
PC-1490UII,
PC-E500,
PC-E500S,
PC-E550,
PC-E650 and
PC-U6000 to indicate 20-digit double-precision numbers in scientific notation in
BASIC
BASIC (Beginners' All-purpose Symbolic Instruction Code) is a family of general-purpose, high-level programming languages designed for ease of use. The original version was created by John G. Kemeny and Thomas E. Kurtz at Dartmouth College ...
between 1987 and 1995.
[ (NB. .)][ (NB. .)]
* Some newer FORTRAN compilers like DEC FORTRAN 77 (f77),
Intel Fortran, Compaq/Digital Visual Fortran or
GNU Fortran
GNU Fortran or GFortran is the GNU Fortran compiler, which is part of the GNU Compiler Collection (GCC).
It includes full support for the Fortran#Fortran 95, Fortran 95 language, and supports large parts of the Fortran#Fortran 2003, Fortran 2003 an ...
(gfortran) support "Q" to signify
quadruple precision
In computing, quadruple precision (or quad precision) is a binary floating point–based computer number format that occupies 16 bytes (128 bits) with precision at least twice the 53-bit double precision.
This 128-bit quadruple precision is desi ...
numbers in scientific notation.
*
MATLAB
MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementation ...
supports both letters, "E" and "D", to indicate numbers in scientific notation.
* The
ALGOL 60
ALGOL 60 (short for ''Algorithmic Language 1960'') is a member of the ALGOL family of computer programming languages. It followed on from ALGOL 58 which had introduced code blocks and the begin and end pairs for delimiting them, representing a k ...
(1960) programming language uses a subscript ten "
10" character instead of the letter E, for example:
6.0221023
.
* The use of the "
10" in the various Algol standards provided a challenge on some computer systems that did not provide such a "
10" character. As a consequence
Stanford University
Stanford University, officially Leland Stanford Junior University, is a private research university in Stanford, California. The campus occupies , among the largest in the United States, and enrolls over 17,000 students. Stanford is consider ...
Algol-W
ALGOL W is a programming language. It is based on a proposal for ALGOL X by Niklaus Wirth and Tony Hoare as a successor to ALGOL 60. ALGOL W is a relatively simple upgrade of the original ALGOL 60, adding string, bitstring, complex number and ...
required the use of a single quote, e.g.
6.022'+23
, and some Soviet Algol variants allowed the use of the Cyrillic character "
ю" character, e.g. 6.022ю+23.
* Subsequently, the
ALGOL 68
ALGOL 68 (short for ''Algorithmic Language 1968'') is an imperative programming language that was conceived as a successor to the ALGOL 60 programming language, designed with the goal of a much wider scope of application and more rigorously de ...
programming language provided the choice of 4 characters: , , , or . By examples: , , or
6.0221023
.
* ''Decimal Exponent Symbol'' is part of the
Unicode Standard
Unicode, formally The Unicode Standard,The formal version reference is is an information technology standard for the consistent encoding, representation, and handling of text expressed in most of the world's writing systems. The standard, whic ...
, e.g. . It is included as to accommodate usage in the programming languages Algol 60 and Algol 68.
* in 1962, Ronald O. Whitaker of Rowco Engineering Co. proposed a power-of-ten system nomenclature where the exponent would be circled, e.g. 6.022 × 10
3 would be written as "6.022③".
[ (1 page)]
* The
TI-83 series
The TI-83 series is a series of graphing calculators manufactured by Texas Instruments.
The original TI-83 is itself an upgraded version of the TI-82. Released in 1996, it was one of the most popular graphing calculators for students. In additi ...
and
TI-84 Plus series
The TI-84 Plus is a graphing calculator made by Texas Instruments which was released in early 2004. There is no original TI-84, only the TI-84 Plus, the TI-84 Plus Silver Edition models, and the TI-84 Plus CE. The TI-84 Plus is an enhanced ve ...
of calculators use a stylized
E character
Character or Characters may refer to:
Arts, entertainment, and media Literature
* ''Character'' (novel), a 1936 Dutch novel by Ferdinand Bordewijk
* ''Characters'' (Theophrastus), a classical Greek set of character sketches attributed to The ...
to display ''decimal exponent'' and the
10 character to denote an equivalent ×10^
operator.
* The
Simula
Simula is the name of two simulation programming languages, Simula I and Simula 67, developed in the 1960s at the Norwegian Computing Center in Oslo, by Ole-Johan Dahl and Kristen Nygaard. Syntactically, it is an approximate superset of ALGOL 6 ...
programming language requires the use of (or for
long
Long may refer to:
Measurement
* Long, characteristic of something of great duration
* Long, characteristic of something of great length
* Longitude (abbreviation: long.), a geographic coordinate
* Longa (music), note value in early music mens ...
), for example: (or ).
* The
Wolfram Language
The Wolfram Language ( ) is a general multi-paradigm programming language developed by Wolfram Research. It emphasizes symbolic computation, functional programming, and rule-based programming and can employ arbitrary structures and data. It ...
(utilized in
Mathematica
Wolfram Mathematica is a software system with built-in libraries for several areas of technical computing that allow machine learning, statistics, symbolic computation, data manipulation, network analysis, time series analysis, NLP, optimizat ...
) allows a shorthand notation of . (Instead, denotes the
mathematical constant ''e'').
Use of spaces
In normalized scientific notation, in E notation, and in engineering notation, the
space
Space is the boundless three-dimensional extent in which objects and events have relative position and direction. In classical physics, physical space is often conceived in three linear dimensions, although modern physicists usually consider ...
(which in
typesetting
Typesetting is the composition of text by means of arranging physical ''type'' (or ''sort'') in mechanical systems or ''glyphs'' in digital systems representing ''characters'' (letters and other symbols).Dictionary.com Unabridged. Random Ho ...
may be represented by a normal width space or a
thin space
In typography, a thin space is a space character whose width is usually or of an em. It is used to add a narrow space, such as between nested quotation marks or to separate glyphs that interfere with one another. It is not as narrow as the hai ...
) that is allowed ''only'' before and after "×" or in front of "E" is sometimes omitted, though it is less common to do so before the alphabetical character.
Further examples of scientific notation
* An
electron
The electron ( or ) is a subatomic particle with a negative one elementary electric charge. Electrons belong to the first generation of the lepton particle family,
and are generally thought to be elementary particles because they have no kn ...
's mass is about .
In scientific notation, this is written (in SI units).
* The
Earth
Earth is the third planet from the Sun and the only astronomical object known to harbor life. While large volumes of water can be found throughout the Solar System, only Earth sustains liquid surface water. About 71% of Earth's surfa ...
's
mass
Mass is an intrinsic property of a body. It was traditionally believed to be related to the quantity of matter in a physical body, until the discovery of the atom and particle physics. It was found that different atoms and different elementar ...
is about . In scientific notation, this is written .
* The
Earth's circumference
Earth's circumference is the distance around Earth. Measured around the Equator, it is . Measured around the poles, the circumference is .
Measurement of Earth's circumference has been important to navigation since ancient times. The first kno ...
is approximately . In scientific notation, this is . In engineering notation, this is written . In
SI writing style, this may be written (').
* An
inch
Measuring tape with inches
The inch (symbol: in or ″) is a unit of length in the British imperial and the United States customary systems of measurement. It is equal to yard or of a foot. Derived from the Roman uncia ("twelfth") ...
is defined as ''exactly'' . Quoting a value of shows that the value is correct to the nearest micrometre. An approximated value with only two significant digits would be instead. As there is no limit to the number of significant digits, the length of an inch could, if required, be written as (say) instead.
*
Hyperinflation
In economics, hyperinflation is a very high and typically accelerating inflation. It quickly erodes the real value of the local currency, as the prices of all goods increase. This causes people to minimize their holdings in that currency as t ...
is a problem that is caused when too much money is printed with regards to there being too few commodities, causing the inflation rate to rise by 50% or more in a single month; currencies tend to lose their intrinsic value over time. Some countries have had an inflation rate of 1 million percent or more in a single month, which usually results in the abandonment of the country's currency shortly afterwards. In November 2008, the monthly inflation rate of the
Zimbabwean dollar
The Zimbabwean dollar (sign: $, or Z$ to distinguish it from other dollar-denominated currencies) was the name of four official currencies of Zimbabwe from 1980 to 12 April 2009. During this time, it was subject to periods of extreme inflat ...
reached 79.6 billion percent; the approximated value with three significant figures would be percent.
Zimbabwe inflation hits new high
BBC News, 9 October 2009
Converting numbers
Converting a number in these cases means to either convert the number into scientific notation form, convert it back into decimal form or to change the exponent part of the equation. None of these alter the actual number, only how it's expressed.
Decimal to scientific
First, move the decimal separator point sufficient places, ''n'', to put the number's value within a desired range, between 1 and 10 for normalized notation. If the decimal was moved to the left, append × 10''n''
; to the right, × 10''−n''
. To represent the number in normalized scientific notation, the decimal separator would be moved 6 digits to the left and × 106
appended, resulting in . The number would have its decimal separator shifted 3 digits to the right instead of the left and yield as a result.
Scientific to decimal
Converting a number from scientific notation to decimal notation, first remove the × 10''n''
on the end, then shift the decimal separator ''n'' digits to the right (positive ''n'') or left (negative ''n''). The number would have its decimal separator shifted 6 digits to the right and become , while would have its decimal separator moved 3 digits to the left and be .
Exponential
Conversion between different scientific notation representations of the same number with different exponential values is achieved by performing opposite operations of multiplication or division by a power of ten on the significand and an subtraction or addition of one on the exponent part. The decimal separator in the significand is shifted ''x'' places to the left (or right) and ''x'' is added to (or subtracted from) the exponent, as shown below.
Basic operations
Given two numbers in scientific notation,
and
Multiplication
Multiplication (often denoted by the cross symbol , by the mid-line dot operator , by juxtaposition, or, on computers, by an asterisk ) is one of the four elementary mathematical operations of arithmetic, with the other ones being additi ...
and division
Division or divider may refer to:
Mathematics
*Division (mathematics), the inverse of multiplication
*Division algorithm, a method for computing the result of mathematical division
Military
*Division (military), a formation typically consisting ...
are performed using the rules for operation with exponentiation
Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to re ...
:
and
Some examples are:
and
Addition
Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol ) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication and Division (mathematics), division. ...
and subtraction
Subtraction is an arithmetic operation that represents the operation of removing objects from a collection. Subtraction is signified by the minus sign, . For example, in the adjacent picture, there are peaches—meaning 5 peaches with 2 taken ...
require the numbers to be represented using the same exponential part, so that the significand can be simply added or subtracted:
Next, add or subtract the significands:
An example:
Other bases
While base ten is normally used for scientific notation, powers of other bases can be used too,[ (NB. This calculator supports floating point numbers in scientific notation in bases 8, 10 and 16.)] base 2 being the next most commonly used one.
For example, in base-2 scientific notation, the number 1001b in binary
Binary may refer to:
Science and technology Mathematics
* Binary number, a representation of numbers using only two digits (0 and 1)
* Binary function, a function that takes two arguments
* Binary operation, a mathematical operation that t ...
(=9d) is written as
or using binary numbers (or shorter if binary context is obvious). In E notation, this is written as (or shorter: 1.001E11) with the letter ''E'' now standing for "times two (10b) to the power" here. In order to better distinguish this base-2 exponent from a base-10 exponent, a base-2 exponent is sometimes also indicated by using the letter ''B'' instead of ''E'', a shorthand notation originally proposed by Bruce Alan Martin
The English language name Bruce arrived in Scotland with the Normans, from the place name Brix, Manche in Normandy, France, meaning "the willowlands". Initially promulgated via the descendants of king Robert the Bruce (1274−1329), it has been ...
of Brookhaven National Laboratory
Brookhaven National Laboratory (BNL) is a United States Department of Energy national laboratory located in Upton, Long Island, and was formally established in 1947 at the site of Camp Upton, a former U.S. Army base and Japanese internment c ...
in 1968, as in (or shorter: 1.001B11). For comparison, the same number in decimal representation
A decimal representation of a non-negative real number is its expression as a sequence of symbols consisting of decimal digits traditionally written with a single separator:
r = b_k b_\ldots b_0.a_1a_2\ldots
Here is the decimal separator, i ...
: (using decimal representation), or 1.125B3 (still using decimal representation). Some calculators use a mixed representation for binary floating point numbers, where the exponent is displayed as decimal number even in binary mode, so the above becomes or shorter 1.001B3.[ (NB. This library also works on the ]HP 48G
The HP 48 is a series of graphing calculators designed and produced by Hewlett-Packard from 1990 until 2003. The series includes the HP 48S, HP 48SX, HP 48G, HP 48GX, and HP 48G+, the G models being expanded and i ...
/ GX/ G+. Beyond the feature set of the HP-16C
The HP-16C Computer Scientist is a programmable pocket calculator that was produced by Hewlett-Packard between 1982 and 1989. It was specifically designed for use by computer programmers, to assist in debugging. It is a member of the HP Voyager ...
, this package also supports calculations for binary, octal, and hexadecimal floating-point number
In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can be r ...
s in scientific notation in addition to the usual decimal floating-point numbers.)
This is closely related to the base-2 floating-point
In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can b ...
representation commonly used in computer arithmetic, and the usage of IEC binary prefixes
A binary prefix is a unit prefix for multiples of units. It is most often used in data processing, data transmission, and digital information, principally in association with the bit and the byte, to indicate multiplication by a power of& ...
(e.g. 1B10 for 1×210 ( kibi), 1B20 for 1×220 (mebi
A binary prefix is a unit prefix for multiples of units. It is most often used in data processing, data transmission, and digital information, principally in association with the bit and the byte, to indicate multiplication by a power of& ...
), 1B30 for 1×230 (gibi
A binary prefix is a unit prefix for multiples of units. It is most often used in data processing, data transmission, and digital information, principally in association with the bit and the byte, to indicate multiplication by a power of& ...
), 1B40 for 1×240 ( tebi)).
Similar to ''B'' (or ''b''), the letters ''H'' (or ''h'') and ''O'' (or ''o'', or ''C'') are sometimes also used to indicate ''times 16 or 8 to the power'' as in 1.25 = = 1.40H0 = 1.40h0, or 98000 = = 2.7732o5 = 2.7732C5.
Another similar convention to denote base-2 exponents is using a letter ''P'' (or ''p'', for "power"). In this notation the significand is always meant to be hexadecimal, whereas the exponent is always meant to be decimal. This notation can be produced by implementations of the ''printf
The printf format string is a control parameter used by a class of functions in the input/output libraries of C and many other programming languages. The string is written in a simple template language: characters are usually copied literal ...
'' family of functions following the C99
C99 (previously known as C9X) is an informal name for ISO/IEC 9899:1999, a past version of the C programming language standard. It extends the previous version ( C90) with new features for the language and the standard library, and helps impl ...
specification and ( Single Unix Specification) IEEE Std 1003.1 POSIX
The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems. POSIX defines both the system- and user-level application programming interf ...
standard, when using the ''%a'' or ''%A'' conversion specifiers. Starting with C++11
C++11 is a version of the ISO/IEC 14882 standard for the C++ programming language. C++11 replaced the prior version of the C++ standard, called C++03, and was later replaced by C++14. The name follows the tradition of naming language versions by ...
, C++
C++ (pronounced "C plus plus") is a high-level general-purpose programming language created by Danish computer scientist Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". The language has expanded significan ...
I/O functions could parse and print the P notation as well. Meanwhile, the notation has been fully adopted by the language standard since C++17
C++17 is a version of the ISO/IEC 14882 standard for the C++ programming language. C++17 replaced the prior version of the C++ standard, called C++14, and was later replaced by C++20.
History
Before the C++ Standards Committee fixed a 3-year rel ...
. Apple
An apple is an edible fruit produced by an apple tree (''Malus domestica''). Apple fruit tree, trees are agriculture, cultivated worldwide and are the most widely grown species in the genus ''Malus''. The tree originated in Central Asia, wh ...
's Swift
Swift or SWIFT most commonly refers to:
* SWIFT, an international organization facilitating transactions between banks
** SWIFT code
* Swift (programming language)
* Swift (bird), a family of birds
It may also refer to:
Organizations
* SWIFT, ...
supports it as well. It is also required by the IEEE 754-2008
The Institute of Electrical and Electronics Engineers (IEEE) is a 501(c)(3) professional association for electronic engineering and electrical engineering (and associated disciplines) with its corporate office in New York City and its operation ...
binary floating-point standard. Example: 1.3DEp42 represents .
Engineering notation
Engineering notation or engineering form (also technical notation) is a version of scientific notation in which the exponent of ten must be divisible by three (i.e., they are powers of a thousand, but written as, for example, 106 instead of 1000 ...
can be viewed as a base-1000 scientific notation.
See also
* Binary prefix
A binary prefix is a unit prefix for multiples of units. It is most often used in data processing, data transmission, and digital information, principally in association with the bit and the byte, to indicate multiplication by a power of& ...
* Positional notation
Positional notation (or place-value notation, or positional numeral system) usually denotes the extension to any base of the Hindu–Arabic numeral system (or decimal system). More generally, a positional system is a numeral system in which the ...
* Variable scientific notation
* Engineering notation
Engineering notation or engineering form (also technical notation) is a version of scientific notation in which the exponent of ten must be divisible by three (i.e., they are powers of a thousand, but written as, for example, 106 instead of 1000 ...
* Floating-point arithmetic
In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can be ...
* ISO 31-0
ISO 31-0 is the introductory part of international standard ISO 31 on quantities and units. It provides guidelines for using physical quantities, quantity and unit symbols, and coherent unit systems, especially the SI. It is intended for use i ...
* ISO 31-11
ISO 31-11:1992 was the part of international standard ISO 31 that defines ''mathematical signs and symbols for use in physical sciences and technology''. It was superseded in 2009 by ISO 80000-2:2009 and subsequently revised in 2019 as ISO-800 ...
* Significant figure
Significant figures (also known as the significant digits, ''precision'' or ''resolution'') of a number in positional notation are digits in the number that are reliable and necessary to indicate the quantity of something.
If a number expre ...
* Suzhou numerals
The Suzhou numerals, also known as ' (), is a numeral system used in China before the introduction of Arabic numerals. The Suzhou numerals are also known as ' (), ' (), ' (), ' () and ' ().
History
The Suzhou numeral system is the only survivin ...
are written with order of magnitude and unit of measurement below the significand
* RKM code
The RKM code, also referred to as "letter and numeral code for resistance and capacitance values and tolerances", "letter and digit code for resistance and capacitance values and tolerances", or informally as "R notation" is a notation to specif ...
* International scientific vocabulary
International scientific vocabulary (ISV) comprises scientific and specialized words whose language of origin may or may not be certain, but which are in current use in several modern languages (that is, translingually, whether in naturalized, loa ...
References
External links
Decimal to Scientific Notation Converter
Scientific Notation to Decimal Converter
Scientific Notation Converter
chapter fro
free ebook an
''Lessons In Electric Circuits''
series.
{{DEFAULTSORT:Scientific Notation
Mathematical notation
Measurement
Numeral systems