Omron CS1G/H-CPUxxH Instructions Manual page 574

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Floating-point Math Instructions
Description
Flags
Precautions
EXP(467) calculates the natural (base e) exponential of the 32-bit floating-
point number in S+1 and S and places the result in R+1 and R. In other words,
EXP(467) calculates e
e
R+1
If the absolute value of the result is greater than the maximum value that can
be expressed as floating-point data, the Overflow Flag will turn ON and the
result will be output as ±∞ .
If the absolute value of the result is less than the minimum value that can be
expressed as floating-point data, the Underflow Flag will turn ON and the
result will be output as 0.
Note The constant e is 2.718282.
The following diagram shows the relationship between the input data and
result.
Name
Error Flag
ER
Equals Flag
=
Overflow Flag
OF
Underflow Flag
UF
Negative Flag
N
The source data in S+1 and S must be in IEEE754 floating-point data format.
x
(x = source) and places the result in R+1 and R.
S+1
S
Source (32-bit floating-point data)
Result (32-bit floating-point data)
R
R
Label
ON if the source data is not recognized as floating-point
data.
ON if the source data is not a number (NaN).
OFF in all other cases.
ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
ON if the absolute value of the result is too large to be
expressed as a 32-bit floating-point value.
ON if the absolute value of the result is too small to be
expressed as a 32-bit floating-point value.
OFF
Section 3-15
S: Input data
R: Result
Operation
553

Advertisement

Table of Contents
loading

Table of Contents