aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-cast-float-int.c
AgeCommit message (Collapse)Author
2021-10-25eval: Fix int-to-float conversionsMichael Forney
Also, add bounds checks for float-to-int conversions. If the integer part can't be represented in the result type, C behavior is undefined. Although this means the result is arbitrary, we need to avoid undefined behavior in cproc itself when given such a program as input.