104
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
■Calculating the square root of single-precision real number
■Calculating the square root of double-precision real number
■Calculating the exponent of single-precision real number
■Calculating the exponent of double-precision real number
■Calculating the natural logarithm of single-precision real number
■Calculating the natural logarithm of double-precision real number
■Calculating the square root of BCD 4-digit/8-digit data
■Calculating the exponentiation of single-precision real number
■Calculating the exponentiation of double-precision real number
Instruction symbol Processing details Reference
ESQRT Calculates the square root of the value specified by a single-precision real number. Page 815 ESQRT(P)
ESQRTP
Instruction symbol Processing details Reference
EDSQRT Calculates the square root of the value specified by a double-precision real number. Page 817 EDSQRT(P)
EDSQRTP
Instruction symbol Processing details Reference
EXP Calculates the exponent of the value specified by a single-precision real number. Page 819 EXP(P)
EXPP
Instruction symbol Processing details Reference
EXPD Calculates the exponent of the value specified by a double-precision real number. Page 821 EXPD(P)
EXPDP
Instruction symbol Processing details Reference
LOG Calculates the logarithm using the natural logarithm (e) of the value specified by a single-precision
real number as the base.
Page 823 LOG(P)
LOGP
Instruction symbol Processing details Reference
LOGD Calculates the logarithm using the natural logarithm (e) of the value specified by a double-precision
real number as the base.
Page 825 LOGD(P)
LOGDP
Instruction symbol Processing details Reference
BSQRT Calculates the square root of the value specified by a BCD 4-digit data.
(d): Integral part
(d)+1: Decimal part
Page 827 BSQRT(P)
BSQRTP
BDSQRT Calculates the square root of the value specified by a BCD 8-digit data.
(d): Integral part
(d)+1: Decimal part
Page 829 BDSQRT(P)
BDSQRTP
Instruction symbol Processing details Reference
POW Calculates the exponentiation of a single-precision real number. Page 831 POW(P)
POWP
Instruction symbol Processing details Reference
POWD Calculates the exponentiation of a double-precision real number. Page 833 POWD(P)
POWDP
(s)+3, (s)+2, (s)+1, (s) (d)+3, (d)+2, (d)+1, (d)
(s)+1, (s)
(d)
(d)+1