huangwei1024 / softart

Automatically exported from code.google.com/p/softart
Other
0 stars 0 forks source link

Vector1 and Scalar has casting gap #188

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Description:
  Consider following case:
    uint4 ui4;
    ulong u = ui4.x;

  That would be error because ui4.x is uint1 type.
  We can implicit convert ui4.x from uint1 to uint and uint-ulong, but cannot convert uint1 to ulong.

Original issue reported on code.google.com by wuye9036 on 8 Apr 2012 at 6:22

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 8 Apr 2012 at 6:22

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 8 Apr 2012 at 7:59

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 23815a699be9.

SASL:
  Caster support once immediate cast for supporting v1 to s cast. e.g.: int1 to float.
  Add test for that.
  Fixed a bug of return expression cast.
  Update code lines.

Original comment by wuye9036 on 14 Apr 2012 at 6:30

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 14 Apr 2012 at 6:31