Home

0e1

0e1 is a numeric literal that uses decimal scientific notation to represent a number as a times ten raised to the power of b, where b is the exponent. In this form, the significand a is 0 and the exponent b is 1, so the value is 0 × 10^1.

Thus 0e1 equals zero. In floating-point systems such as IEEE 754, this value is represented as a

0e1 appears in many languages and data formats that support scientific notation, including Python, JavaScript, Java,

Because the leading coefficient is zero, any expression using 0e with a finite exponent evaluates to zero.

zero,
typically
as
positive
zero
(0.0).
Some
environments
and
operations
may
preserve
a
negative
zero
if
the
sign
bit
is
set,
so
-0e1
would
yield
-0.0
in
those
contexts.
Nevertheless,
multiplying
a
zero
significand
by
any
finite
power
of
ten
yields
zero.
C,
and
JSON.
It
is
convenient
for
writing
and
parsing
numbers
that
span
large
ranges
of
magnitude,
even
though
in
the
specific
case
of
zero
the
exponent
has
no
effect
on
the
numeric
value.
When
parsing
numeric
literals
from
text,
it
is
important
to
distinguish
between
the
string
"0e1"
and
its
numeric
value
after
parsing;
the
string
may
also
be
used
in
identifiers
or
tokens
in
some
languages,
depending
on
syntax
rules.