diff options
Diffstat (limited to 'tool/mbed/mbed-sdk/libraries/tests/benchmarks/float_math/main.cpp')
-rw-r--r-- | tool/mbed/mbed-sdk/libraries/tests/benchmarks/float_math/main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tool/mbed/mbed-sdk/libraries/tests/benchmarks/float_math/main.cpp b/tool/mbed/mbed-sdk/libraries/tests/benchmarks/float_math/main.cpp new file mode 100644 index 0000000000..b7f5566398 --- /dev/null +++ b/tool/mbed/mbed-sdk/libraries/tests/benchmarks/float_math/main.cpp @@ -0,0 +1,8 @@ +#include "mbed.h" + +volatile float w, x, y, z; +int main() { + while (1) { + z = x * y / w; + } +} |