Real

Real

is the head used for real (floatingpoint) numbers.

Details

  • _Real can be used to stand for a real number in a pattern.
  • You can enter a floatingpoint number of any length.
  • You can enter a number in scientific notation by using the form mantissa*^exponent.
  • You can enter a floatingpoint number in base b using b^^digits. The base must be less than 36. The letters az or AZ are used in sequence to stand for digits 10 through 35.
  • Real is also used to indicate an approximate real number in Read.

Examples

open allclose all

Basic Examples  (1)

Enter a real number:

In[1]:=
Click for copyable input
Out[1]=

Real is the Head for real numbers:

In[2]:=
Click for copyable input
Out[2]=

Scope  (11)

Applications  (4)

Properties & Relations  (5)

Possible Issues  (1)

See Also

RealDigits  BaseForm  Number  Reals  Complex  Rational

Tutorials

Introduced in 1988
(1.0)
| Updated in 1996
(3.0)