diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2014-02-05 15:26:46 +0800 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2014-02-05 15:26:46 +0800 |
| commit | 02d2ca8ac77e8deaa494199f79624176df6a2b6c (patch) | |
| tree | 26a7da43dc130845b2fadfbe43a3a609b028b9af /tests/asmtest.S | |
| parent | 17314a1fb316eb712ae0c539ccea64fe1aeb5c93 (diff) | |
| download | tinycc-02d2ca8ac77e8deaa494199f79624176df6a2b6c.tar.gz tinycc-02d2ca8ac77e8deaa494199f79624176df6a2b6c.tar.bz2 | |
Fix and extend *FCAST test in tcctest.c
Result of float to unsigned integer conversion is undefined if float is
negative. This commit take the absolute value of the float before doing
the conversion to unsigned integer and add more float to integer
conversion test.
Diffstat (limited to 'tests/asmtest.S')
0 files changed, 0 insertions, 0 deletions
