Revision 8a98d689
| ID | 8a98d68933265f043bf95f9f273f9829619114c8 |
convert: fixed sc8 convert issue w/ undefined behaviour
Its important to use a signed cast when converting float to int.
Then assign that signed int to an unsigned type of the same width.
Its undefined behaviour when converting a negative float to an unsigned int.
Files
- added
- modified
- copied
- renamed
- deleted