| 14 | #include "il_internal.h" |
| 15 | |
| 16 | ILfloat /*ILAPIENTRY*/ ilFloatToHalfOverflow() { |
| 17 | ILfloat f = 1e10; |
| 18 | ILint j; |
| 19 | for (j = 0; j < 10; j++) |
| 20 | f *= f; // this will overflow before |
| 21 | // the for loop terminates |
| 22 | return f; |
| 23 | } |
| 24 | |
| 25 | //----------------------------------------------------- |
| 26 | // Float-to-half conversion -- general case, including |
no outgoing calls
no test coverage detected