Floating-Point Unit (FPU)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_FPUTABLE
is an array of pointers located at
ROM_APITABLE[26]
.
ROM_FPUNaNModeSet
is a function pointer located at
ROM_FPUTABLE[5]
.
Parameters:
ui32Mode
is the mode for NaN results; which is either
FPU_NAN_PROPAGATE
or
FPU_NAN_DEFAULT
.
Description:
This function selects the handling of NaN results during floating-point computations. NaNs can
either propagate (the default), or they can return the default NaN.
Note:
Unless this function is called prior to executing any floating-point instructions, the default mode
is used.
Returns:
None.
9.2.1.7
ROM_FPURoundingModeSet
Selects the rounding mode for floating-point results.
Prototype:
void
ROM_FPURoundingModeSet(uint32_t ui32Mode)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_FPUTABLE
is an array of pointers located at
ROM_APITABLE[26]
.
ROM_FPURoundingModeSet
is a function pointer located at
ROM_FPUTABLE[6]
.
Parameters:
ui32Mode
is the rounding mode.
Description:
This function selects the rounding mode for floating-point results.
After a floating-
point operation, the result is rounded toward the specified value.
The default mode is
FPU_ROUND_NEAREST
.
The following rounding modes are available (as specified by
ui32Mode
):
FPU_ROUND_NEAREST
- round toward the nearest value
FPU_ROUND_POS_INF
- round toward positive infinity
FPU_ROUND_NEG_INF
- round toward negative infinity
FPU_ROUND_ZERO
- round toward zero
Note:
Unless this function is called prior to executing any floating-point instructions, the default mode
is used.
Returns:
None.
April 8, 2013
85
Содержание Tiva TM4C123GH6PM
Страница 26: ...Boot Loader 26 April 8 2013...
Страница 68: ...Controller Area Network CAN 68 April 8 2013...
Страница 122: ...Hibernation Module 122 April 8 2013...
Страница 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Страница 152: ...Memory Protection Unit MPU 152 April 8 2013...
Страница 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Страница 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Страница 222: ...System Control 222 April 8 2013...
Страница 270: ...UART 270 April 8 2013...
Страница 296: ...uDMA Controller 296 April 8 2013...
Страница 351: ...April 8 2013 351...