EasyManuals Logo

Infineon TriCore TC1.6P User Manual

Infineon TriCore TC1.6P
484 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 #19 background imageLoading...
Page #19 background image
TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set Information
V1.0 2013-07
User Manual (Volume 2) 1-12
round_to_q31(x,y) Returns a Q format result of infinite width by rounding the real value ‘x’ to a Q
format value using the IEEE-754-1985 mode specified by ‘y’.
i_real(x) Returns a infinitely accurate real number of equal value to the 32-bit signed
integer value ‘x’.
u_real(x) Returns a infinitely accurate real number of equal value to the 32-bit unsigned
integer value ‘x’.
f_real(x) Returns the IEEE-754-1985 32-bit single precision floating point format value
‘x’ as an infinitely accurate real value.
q_real(x) Returns the Q31 format value ‘x’ as an infinitely accurate real value.
add(x,y) Adds the real value ‘x’ to the real value ‘y’ and returns an infinitely accurate real
result.
mul(x,y) Multiply the real value ‘x’ by the real value ‘y’ and return an infinitely accurate
real result.
divide(x,y) Divides the real value ‘x’ by the real value ‘y’ and returns an infinitely accurate
real result.
ieee754_round(x,y) Rounds the real value ‘x’ using the type of rounding specified by ‘y’ compliant
with IEEE-754-1985.
ieee754_32bit_format(x) Returns the real value ‘x’ in the standard 32-bit single precision IEEE-754-
1985 floating point format. ‘x’ is converted to the correct IEEE-754-1985 result
on overflow or underflow.
ieee754_lt(x,y) Returns TRUE if ‘x’ is less than ‘y’ according to the IEEE-754-1985 rules for
32-bit single precision floating point numbers otherwise returns FALSE.
ieee754_gt(x,y) Returns TRUE if ‘x’ is greater than ‘y’ according to the IEEE-754-1985 rules for
32-bit single precision floating point numbers otherwise returns FALSE.
ieee754_eq(x,y) Returns TRUE if ‘x’ is equal to ‘y’ according to the IEEE-754-1985 rules for 32-
bit single precision floating point numbers otherwise returns FALSE.
fp_abs(x) Returns the infinitely accurate absolute value of the real value ‘x’; i.e. (x < 0.0)
? (0.0 - x) : x;
approx_inv_sqrt(x) Takes the real argument x and returns the approximate inverse square root (x
-
0.5
) to at least 6.75 bits of precision.
Table 1-11 Floating Point Operation Syntax
Syntax Definition

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Infineon TriCore TC1.6P and is the answer not in the manual?

Infineon TriCore TC1.6P Specifications

General IconGeneral
BrandInfineon
ModelTriCore TC1.6P
CategoryMicrocontrollers
LanguageEnglish

Related product manuals