mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
416c048737
- Define test_utils_interactive_sync as DEFAULT_MODULE in Makefile.tests_common - For tests disabling autoinit, add test_utils_interactive_sync to main - Add DISABLE_MODULE += test_utils_interactive_sync for tests requiring sudo, `tests/shell`, `tests/minimal` and `tests/stdin` - Add shell_commands to tests/periph_wdt and tests/struct_tm_utility to pull `r` and `s` commands - Remove includes and usage in `tests/main.c` for tests that where already using test_utils_interactive_sync |
||
---|---|---|
.. | ||
tests | ||
main.c | ||
Makefile | ||
README.md |
Expected result
This application increases a non-even floating point number in steps of 0.1
starting from from 1234567.0 / 1024.0 ~= 1205.631835938. For each step it checks
if the sum minus its 'floored' values is less than 1.0 (which it should always be
by definition of floor
).
Background
This test was introduced due to an error for floating point handling in an older newlib version.
The idea for this test is taken from: http://sourceware.org/ml/newlib/2010/msg00149.html