cast_float_long 270 B

1234567891011121314
  1. void main() {
  2. long l = 3L;
  3. test((float)l);
  4. test((long)(float)l);
  5. test((float)(long)(float)l);
  6. float f = 4.2;
  7. test((long)f);
  8. test((float)(long)f);
  9. test((long)(float)(long)f);
  10. test((float)6 / 5.0);
  11. test(6L / (long)5.0);
  12. }