Home
last modified time | relevance | path

Searched refs:roundingMode (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/ArmPkg/Library/ArmSoftFloatLib/bits32/
Dsoftfloat.c210 int8 roundingMode; in roundAndPackFloat32() local
215 roundingMode = float_rounding_mode; in roundAndPackFloat32()
216 roundNearestEven = roundingMode == float_round_nearest_even; in roundAndPackFloat32()
219 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat32()
225 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat32()
228 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat32()
422 int8 roundingMode; in roundAndPackFloat64() local
425 roundingMode = float_rounding_mode; in roundAndPackFloat64()
426 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat64()
429 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat64()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits32/
Dsoftfloat.c211 int8 roundingMode; in roundAndPackFloat32() local
216 roundingMode = float_rounding_mode; in roundAndPackFloat32()
217 roundNearestEven = roundingMode == float_round_nearest_even; in roundAndPackFloat32()
220 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat32()
226 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat32()
229 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat32()
423 int8 roundingMode; in roundAndPackFloat64() local
426 roundingMode = float_rounding_mode; in roundAndPackFloat64()
427 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat64()
430 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat64()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/bits64/
Dsoftfloat.c124 int8 roundingMode; in roundAndPackInt32() local
129 roundingMode = float_rounding_mode; in roundAndPackInt32()
130 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32()
133 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32()
139 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32()
142 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32()
175 int8 roundingMode; in roundAndPackInt64() local
179 roundingMode = float_rounding_mode; in roundAndPackInt64()
180 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt64()
183 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt64()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/
Dtimesoftfloat.c1920 flag roundingPrecision, roundingMode; member
2055 int8 roundingMode, in timeFunctionVariety() argument
2078 switch ( roundingMode ) { in timeFunctionVariety()
2417 int8 roundingPrecision, roundingMode, tininessMode; in timeFunction() local
2427 for ( roundingMode = 1; in timeFunction()
2428 roundingMode < NUM_ROUNDINGMODES; in timeFunction()
2429 ++roundingMode in timeFunction()
2431 if ( ! functions[ functionCode ].roundingMode ) { in timeFunction()
2432 roundingMode = 0; in timeFunction()
2435 roundingMode = roundingModeIn; in timeFunction()
[all …]