EasyManuals Logo
Home>ST>Microcontrollers>STM32G471

ST STM32G471 User Manual

ST STM32G471
2126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #473 background imageLoading...
Page #473 background image
RM0440 Rev 4 473/2126
RM0440 CORDIC co-processor (CORDIC)
485
x 0.5 is programmed in ARG1 and the factor n = 1 must be programmed in the SCALE
parameter.
The secondary argument is not used.
The primary result is the hyperbolic arctangent, atanh x. RES1 must be multiplied by 2 to
obtain the correct value.
The secondary result is not used.
Natural logarithm
This function calculates the natural logarithm of the input argument x.
The primary argument is the input value x. Only values of x in the range 0.107 to 9.35 are
supported. The value x must be scaled by a factor 2
-n
, such that x 2
-n
< 1-2
-n
. The scaled
value x ∙ 2
-n
is programmed in ARG1 and the factor n must be programmed in the SCALE
parameter.
Table 112 lists the valid scaling factors, n, and the corresponding ranges of x and ARG1.
The secondary argument is not used.
The primary result is the natural logarithm, ln x. RES1 must be multiplied by 2
(n+1)
to obtain
the correct value.
The secondary result is not used.
Table 111. Natural logarithm parameters
Parameter Description Range
ARG1 x ∙ 2
-n
[0.054 0.875]
ARG2 Not applicable -
RES1 2
-(n+1)
.ln x [-0.279 0.137]
RES2 Not applicable -
SCALE n [1 4]
Table 112. Natural log scaling factors and corresponding ranges
n x range ARG1 range
1 0.107 x< 1 0.0535 ARG1< 0.5
21 x < 3 0.25 ARG1< 0.75
33 x < 7 0.375 ARG1< 0.875
47 x 9.35 0.4375 ARG1< 0.584

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32G471 and is the answer not in the manual?

ST STM32G471 Specifications

General IconGeneral
BrandST
ModelSTM32G471
CategoryMicrocontrollers
LanguageEnglish

Related product manuals