half_tests.c 272 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 //C: '-msoft-fp-half' //A: '--has-fhalf' int main(void) { volatile half a, b; do { a += b; } while (a<b); do { a -= b; } while (a>b); do { a += b; } while (a<=b); do { a -= b; } while (a>=b); if (a==b) return 1; return 0; }