PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
SEARCH MATHEMATICA 8 DOCUMENTATION
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
Mathematica
>
Mathematics and Algorithms
>
Numerical Evaluation & Precision
>
Representation of Numbers
>
Mathematica
>
Core Language
>
Expressions
>
Expression Structure
>
Atomic Elements of Expressions
>
Representation of Numbers
>
Built-in
Mathematica
Symbol
Log10
Log
MantissaExponent
IntegerExponent
Accuracy
Precision
See Also »
|
Representation of Numbers
More About »
RealExponent
RealExponent
[
x
]
gives
.
RealExponent
[
x
,
b
]
gives
.
MORE INFORMATION
If
x
is an approximate number consistent with zero, then
RealExponent
[
x
]
gives
-
Accuracy
[
x
]
.
For any approximate number
x
,
RealExponent
[
x
]
is equal to
Precision
[
x
]-
Accuracy
[
x
]
.
»
RealExponent
automatically threads over lists.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
The base 10 exponent for a number
:
This is the number
such that
:
The base 2 exponent:
This is the number
such that
:
The base 10 exponent for a number
:
In[1]:=
Out[1]=
This is the number
such that
:
In[2]:=
Out[2]=
The base 2 exponent:
In[3]:=
Out[3]=
This is the number
such that
:
In[4]:=
Out[4]=
Scope
(8)
The real exponent for an arbitrary-precision number:
The result of
RealExponent
is given as a machine number whatever the precision of
:
The real exponent for an exact number:
The real exponent for an exact numeric quantity:
Real exponent for zeros:
This is
-
Accuracy
[
x
]
:
The same is true for arbitrary-precision zeros:
Also for exact zero:
The real exponent for different bases:
The base can be any number strictly greater than 1:
The base can be an exact numeric quantity:
RealExponent
automatically threads over lists:
Applications
(2)
Determine quickly if a power will overflow:
This predicts that the power can be represented:
A larger power will not work:
Determine quickly the largest power tower
that will not overflow for a given number:
Properties & Relations
(4)
For any approximate number
x
,
RealExponent
[
x
]
is equal to
Precision
[
x
]-
Accuracy
[
x
]
:
Also true for arbitrary-precision numbers:
If
x
is an approximate zero, then
RealExponent
[
x
]
gives
-
Accuracy
[
x
]
:
This is the same as saying that the identity
RealExponent
[
x
]
is equal to
Precision
[
x
]-
Accuracy
[
x
]
:
Since precision is zero for approximate zeros:
The real exponent of a product is the sum of the real exponents:
The real exponent of a power is the real exponent of the base times the power:
SEE ALSO
Log10
Log
MantissaExponent
IntegerExponent
Accuracy
Precision
MORE ABOUT
Representation of Numbers
New in 6