float_fpround.c 256 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ////C: '-msoft-float' //C: '-daiteq-fpu-type=daifpu_dual_dpsp_divsqrt' ////A: '--has-fhalf' void func(half arg) { volatile half l; l = arg + 1.23H; } int main(void) { volatile float a = 1.23456F; volatile half b = a; func(b); return 0; }