Actions
Bug #819
openDecimal rounding of floating point values don't take into account rounding mode
Start date:
12/26/2014
Due date:
% Done:
0%
Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:
CrystaX NDK Version:
Description
No matter which rounding mode set with @fesetround@ (@FE_DOWNWARD@, @FE_UPWARD@, @FE_TOWARDZERO@ or @FE_TONEAREST@), @printf("%.3f", flt)@ and @printf("%.3Lf", flt)@ always produce results like if @FE_TONEAREST@ was set. It happens for all platforms, no matter soft/hard float or 32/64-bit signedness. The same happens with scanf() family of functions.
Updated by Dmitry M. almost 10 years ago
Don't forget to update tests/device/crystax-test-stdio2 when this bug will be fixed
Updated by Dmitry M. almost 10 years ago
- Subject changed from Decimal floating point values rounded as if rounding mode was set to FE_TONEAREST to Decimal floating point values rounded wrong
Updated by Dmitry M. almost 10 years ago
- Subject changed from Decimal floating point values rounded wrong to Decimal rounding of floating point values don't take into account rounding mode
Updated by Dmitry M. almost 10 years ago
- CPU Architecture arm, arm64, mips, mips64, x86, x86_64 added
Updated by Dmitry M. almost 10 years ago
- CPU Architecture deleted (
arm, arm64, mips, mips64, x86, x86_64)
Updated by Dmitry M. about 9 years ago
- Target version changed from 10.3.0 to 11.0.0
Actions